summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-02-04 23:54:39 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-04-04 17:03:43 +0200
commit20f61cd12c9b7960a9e5489154744af6c7583aac (patch)
treec096a4ce76d92a6164c8b859c5334fa92fa7157d /docs
parent4946ea05e2ae14bd84332bd1fde5e3b5e468cef2 (diff)
downloadcurl-20f61cd12c9b7960a9e5489154744af6c7583aac.tar.gz
curl.1: documented --proxy-header
Diffstat (limited to 'docs')
-rw-r--r--docs/curl.115
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 929e86c1f..626fe7422 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -1107,6 +1107,21 @@ is used in conjunction with the user name which can be specified as part of the
The Bearer Token and user name are formatted according to RFC 6750.
If this option is used several times, the last one will be used.
+.IP "--proxy-header <header>"
+(HTTP) Extra header to use when getting a web page with a proxy. You may
+specify any number of extra headers. This is the equivalent option to \fI-H,
+--header\fP but is for proxy communication only like in CONNECT requests when
+you want a separate header sent to the proxy to what is sent to the actual
+remote host.
+
+curl will make sure that each header you add/replace is sent with the proper
+end-of-line marker, you should thus \fBnot\fP add that as a part of the header
+content: do not add newlines or carriage returns, they will only mess things
+up for you.
+
+This option can be used multiple times to add/replace/remove multiple headers.
+
+(Added in 7.36.0)
.IP "-p, --proxytunnel"
When an HTTP proxy is used (\fI-x, --proxy\fP), this option will cause non-HTTP
protocols to attempt to tunnel through the proxy instead of merely using it to