Skip to content

curl manual: cross-reference --location-trusted from flag documentation related to specifying authentication #16160

@deliciouslytyped

Description

@deliciouslytyped

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions