curl manual: cross-reference --location-trusted
from flag documentation related to specifying authentication
#16160
Labels
--location-trusted
from flag documentation related to specifying authentication
#16160
Specify which documentation you found a problem with
The problem is in the curl manual page up to 8.11.1 assuming https://curl.se/docs/manpage.html is up to date.
This is more a quality-of-life issue than an error.
The problem
It's not entirely obvious on initial inspection why curl isn't forwarding
-H "Authorization: ..."
(which where manual implies-H
is permanent, though presumably curl specifically strips the Authorization header subsequently..) or-u use:pass
when following redirects according to-L
. The-L
documentation does describe the problem and cross references to--location-trusted
, but for me it was more intuitive to look under-H
and-u
when I initially discovered the "missing" authorization headers in-v
output.-H
(which is more generic) and-u
give no mention of stripping (under redirects).The text was updated successfully, but these errors were encountered: