curl/docs/cmdline-opts/suppress-connect-headers.md
Daniel Stenberg 4e51437de2
docs/cmdline: refer to --show-headers instead of --include
As it is the new version of the option that is easier to understand what
it does by name.

Follow-up to 82c53f821f
Closes #14497
2024-08-12 12:54:03 +02:00

690 B

c SPDX-License-Identifier Long Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl suppress-connect-headers Suppress proxy CONNECT response headers proxy 7.54.0 boolean
dump-header
show-headers
proxytunnel
--suppress-connect-headers --show-headers -x proxy $URL

--suppress-connect-headers

When --proxytunnel is used and a CONNECT request is made do not output proxy CONNECT response headers. This option is meant to be used with --dump-header or --show-headers which are used to show protocol headers in the output. It has no effect on debug options such as --verbose or --trace, or any statistics.