mirror of
https://github.com/curl/curl.git
synced 2026-05-17 15:26:21 +03:00
curl.1: add warning when using -H and redirects
This commit is contained in:
parent
761d5166af
commit
499024d208
1 changed files with 6 additions and 0 deletions
|
|
@ -743,6 +743,12 @@ Example:
|
|||
|
||||
\&# curl -H "X-First-Name: Joe" http://192.168.0.1/
|
||||
|
||||
\fBWARNING\fP: headers set with this option will be set in all requests - even
|
||||
after redirects are followed, like when told with \fB-L, --location\fP. This
|
||||
can lead to the header being sent to other hosts than the original host, so
|
||||
sensitive headers should be used with caution combined with following
|
||||
redirects.
|
||||
|
||||
This option can be used multiple times to add/replace/remove multiple headers.
|
||||
.IP "--hostpubmd5 <md5>"
|
||||
(SCP/SFTP) Pass a string containing 32 hexadecimal digits. The string should
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue