curl-w32/docs/cmdline-opts/suppress-connect-headers.md

675 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
include
proxytunnel
--suppress-connect-headers --include -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 --include 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.