Name
easy:SetOpt_Unrestricted_Auth -- send credentials to other hosts too
Synopsis
easy:SetOpt_Unrestricted_Auth(goahead)
Function
Set the gohead parameter to 1 to make libcurl continue to send authentication (user+password) credentials when following locations, even when hostname changed. This option is meaningful only when setting #CURLOPT_FOLLOWLOCATION.

By default, libcurl will only send given credentials to the initial host name as given in the original URL, to avoid leaking username + password to other sites.

Inputs
goahead
input value

Show TOC