Cloud Storage Integrator 2016 macOS Edition
Cloud Storage Integrator 2016 macOS Edition
Questions / Feedback?

followRedirects (property)

Determines what happens when the server issues a redirect.

- (int)followRedirects

- (void)setFollowRedirects:(int)newFollowRedirects

Possible Values

FR_NEVER(0), FR_ALWAYS(1), FR_SAME_SCHEME(2)

Default Value

0

Remarks

Normally, the class 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 class fails with an error.

The default value is frNever (0). In this case, redirects are never followed, and the class fails with an error instead.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 macOS Edition - Version 16.0 [Build 7239]