blob: f2e8b802d24bea727cfae3528aa920585c9ad1a3 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001Long: proxytunnel
2Short: p
3Help: Operate through a HTTP proxy tunnel (using CONNECT)
4See-also: proxy
5---
6When an HTTP proxy is used --proxy, this option will cause non-HTTP protocols
7to attempt to tunnel through the proxy instead of merely using it to do
8HTTP-like operations. The tunnel approach is made with the HTTP proxy CONNECT
9request and requires that the proxy allows direct connect to the remote port
10number curl wants to tunnel through to.
11
12To suppress proxy CONNECT response headers when curl is set to output headers
13use --suppress-connect-headers.