2
0

suppress-connect-headers.md 675 B


c: Copyright (C) Daniel Stenberg, daniel@haxx.se, et al. SPDX-License-Identifier: curl Long: suppress-connect-headers Help: Suppress proxy CONNECT response headers Category: proxy Added: 7.54.0 Multi: boolean See-also:

  • dump-header
  • include
  • proxytunnel Example:
  • --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.