Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Set whether to set automatically the referrer.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionAutoReferer"; Handle; Value )


Parameter Description Example value
Handle The CURL session handle. $curl
Value Whether to automatically set referrer. 1


Returns "OK" on success.


Set whether to set automatically the referrer.
Pass a parameter set to 1 to enable this. When enabled, libcurl will automatically set the Referer: field in requests where it follows a Location: redirect.


Turns referrer on:

MBS( "CURL.SetOptionAutoReferer"; $curl; 1 )

See also

CURL.SetOptionAppend   -   CURL.SetOptionBufferSize

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos