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