diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-16 14:20:36 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-16 15:15:57 +0100 |
commit | 342aa4797edfabba78755e798d23a5b6d288d50b (patch) | |
tree | c9607e88e05cef2f5084f6428151c5de52ee2fc4 /docs/cmdline-opts/proxy-header.d | |
parent | c3c1e9618513d245861c35ec0c563ab71ce892bb (diff) | |
download | curl-342aa4797edfabba78755e798d23a5b6d288d50b.tar.gz |
cmdline-docs: more conversion
Diffstat (limited to 'docs/cmdline-opts/proxy-header.d')
-rw-r--r-- | docs/cmdline-opts/proxy-header.d | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/cmdline-opts/proxy-header.d b/docs/cmdline-opts/proxy-header.d new file mode 100644 index 000000000..1ef696bc7 --- /dev/null +++ b/docs/cmdline-opts/proxy-header.d @@ -0,0 +1,20 @@ +Long: proxy-header +Arg: <header> +Help: Pass custom header LINE to proxy +Protocols: HTTP +Added: 7.37.0 +--- +Extra header to include in the request when sending HTTP to a proxy. You may +specify any number of extra headers. This is the equivalent option to --header +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. + +Headers specified with this option will not be included in requests that curl +knows will not be sent to a proxy. + +This option can be used multiple times to add/replace/remove multiple headers. |