mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
15 lines
539 B
Makefile
15 lines
539 B
Makefile
Long: proxytunnel
|
|
Short: p
|
|
Help: Operate through an HTTP proxy tunnel (using CONNECT)
|
|
See-also: proxy
|
|
Category: proxy
|
|
Example: --proxytunnel -x http://proxy $URL
|
|
---
|
|
When an HTTP proxy is used --proxy, this option will make curl tunnel through
|
|
the proxy. The tunnel approach is made with the HTTP proxy CONNECT request and
|
|
requires that the proxy allows direct connect to the remote port number curl
|
|
wants to tunnel through to.
|
|
|
|
To suppress proxy CONNECT response headers when curl is set to output headers
|
|
use --suppress-connect-headers.
|