Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionUnrestrictedAuth
Controls whether authentication is reused.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionUnrestrictedAuth"; curl; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to follow with authentication. | 0 |
Result
Returns "OK" on success.
Description
Controls whether authentication is reused.A parameter set to 1 tells the library it can continue to send authentication (user+password) when following locations, even when hostname changed. This option is meaningful only when setting CURL.SetOptionFollowLocation.
See also UNRESTRICTED_AUTH option in CURL manual.
See also
Created 18th August 2014, last changed 28th November 2019
CURL.SetOptionUnixSocketPath - CURL.SetOptionUpkeepIntervalMS
