Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionAutoReferer
Set whether to set automatically the referrer.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 2.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.SetOptionAutoReferer"; curl; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | Whether to automatically set referrer. | 1 |
Result
Returns "OK" on success.
Description
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.
Examples
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.
Links
MBS FileMaker Plugins