changed the wording about removal of internal headers with -H
This commit is contained in:
parent
15e3dfe1d3
commit
a40dcca794
@ -495,9 +495,9 @@ of extra headers. Note that if you should add a custom header that has the
|
|||||||
same name as one of the internal ones curl would use, your externally set
|
same name as one of the internal ones curl would use, your externally set
|
||||||
header will be used instead of the internal one. This allows you to make even
|
header will be used instead of the internal one. This allows you to make even
|
||||||
trickier stuff than curl would normally do. You should not replace internally
|
trickier stuff than curl would normally do. You should not replace internally
|
||||||
set headers without knowing perfectly well what you're doing. Replacing an
|
set headers without knowing perfectly well what you're doing. Remove an
|
||||||
internal header with one without content on the right side of the colon will
|
internal header by giving a replacement without content on the right side of
|
||||||
prevent that header from appearing.
|
the colon, as in: -H \&"Host:".
|
||||||
|
|
||||||
curl will make sure that each header you add/replace get sent with the proper
|
curl will make sure that each header you add/replace get sent with the proper
|
||||||
end of line marker, you should thus \fBnot\fP add that as a part of the header
|
end of line marker, you should thus \fBnot\fP add that as a part of the header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user