FollowRedirects Property
Determines what happens when the server issues a redirect.
Syntax
public Amazons3FollowRedirects FollowRedirects { get; set; }
enum Amazons3FollowRedirects { frNever, frAlways, frSameScheme }
Public Property FollowRedirects As Amazons3FollowRedirects
Enum Amazons3FollowRedirects frNever frAlways frSameScheme End Enum
Default Value
0
Remarks
This property specifies how the component should behave when the server returns a redirect response (e.g. "Object Moved"). Valid values are:
frNever (0) (default) | Redirects are never followed; the component throws an exception instead. |
frAlways (1) | Redirects are always followed. |
frSameScheme (2) | Redirects are followed if the new URL has the same scheme as the originally requested URL; otherwise, the component throws an exception. |