View source code
Display the source code in etc/c/curl.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Enum etc.c.curl.member CurlOption.redir_protocols
set the bitmask for the protocols
that libcurl is allowed to follow to,
as a subset of the CURLOPT_PROTOCOLS ones. That means the protocol needs
to be set in both bitmasks to be allowed to get redirected to. Defaults
to all protocols
except FILE and SCP.
Declaration
enum CurlOption { // ... redir_protocols = 182, // ... }