Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    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"; curl; Value )   More


Parameter Description Example value
curl 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.

See also AUTOREFERER option in CURL manual.


Turns referrer on:

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

See also

Created 18th August 2014, last changed 8th December 2016

CURL.SetOptionAppend   -   CURL.SetOptionBufferSize

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos