mirror of
https://github.com/curl/curl.git
synced 2026-08-11 14:01:27 +03:00
docs: add description of effect of --location-trusted on cookie
Closes #14471
This commit is contained in:
parent
88727f7ed0
commit
5fcf96930e
3 changed files with 15 additions and 9 deletions
|
|
@ -22,9 +22,10 @@ location (indicated with a Location: header and a 3XX response code), this
|
|||
option makes curl redo the request on the new place. If used together with
|
||||
--show-headers or --head, headers from all requested pages are shown.
|
||||
|
||||
When authentication is used, curl only sends its credentials to the initial
|
||||
host. If a redirect takes curl to a different host, it does not get the
|
||||
user+password pass on. See also --location-trusted on how to change this.
|
||||
When authentication is used, or send cookie with `-H Cookie:`, curl only sends
|
||||
its credentials to the initial host. If a redirect takes curl to a different
|
||||
host, it does not get the credentials pass on. See also--location-trusted on
|
||||
how to change this.
|
||||
|
||||
Limit the amount of redirects to follow by using the --max-redirs option.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue