CURLOPT_FOLLOWLOCATION.md: s/Authentication:/Authorization:/

Closes #19915
This commit is contained in:
Daniel Stenberg 2025-12-10 09:19:32 +01:00
parent b11b67c96f
commit 2180d7b4bc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -63,7 +63,7 @@ or just lacks features, it is easy to instead implement your own redirect
follow logic with the use of curl_easy_getinfo(3)'s CURLINFO_REDIRECT_URL(3)
option instead of using CURLOPT_FOLLOWLOCATION(3).
By default, libcurl only sends `Authentication:` or explicitly set `Cookie:`
By default, libcurl only sends `Authorization:` or explicitly set `Cookie:`
headers to the initial host given in the original URL, to avoid leaking
username + password to other sites. CURLOPT_UNRESTRICTED_AUTH(3) is provided
to change that behavior.