Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

FollowRedirects Property

Determines what happens when the server issues a redirect.

Syntax

__property TicsAmazonS3FollowRedirects FollowRedirects = {read=FFollowRedirects, write=FSetFollowRedirects, default=0};



enum TicsAmazonS3FollowRedirects { frNever=0, frAlways=1, frSameScheme=2 };

Default Value

0

Remarks

Normally, the component returns an error if the server responds with an "Object Moved" message. If FollowRedirects is set to frAlways (1), the new URL for the request is retrieved automatically every time.

If FollowRedirects is set to frSameScheme (2), the new URL is retrieved automatically only if the URL scheme is the same as the original request, otherwise the component raises an exception.

The default value is frNever (0). In this case, redirects are never followed, and the component raises an exception instead.

Data Type

Integer

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0