curl-curl/docs/cmdline-opts/show-headers.md
Samuel Henrique 620401f193
docs: fix typos
After Gmail called out the typo I fixed on
532d89a866, I've decided to paste the
whole man page into Google docs and check what other issues it would
spot.

I know, it sounds silly, but I've just spent the last hour and a half
going over each one of them and fixing everything which was a true
finding and non-controversial.

Closes #17480
2025-05-29 10:21:52 +02:00

987 B

c SPDX-License-Identifier Long Short Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl show-headers i Show response headers in output HTTP FTP important verbose output 4.8 boolean
verbose
dump-header
-i $URL

--show-headers

Show response headers in the output. HTTP response headers can include things like server name, cookies, date of the document, HTTP version and more. With non-HTTP protocols, the "headers" are other server communication.

This option makes the response headers get saved in the same stream/output as the data. --dump-header exists to save headers in a separate stream.

To view the request headers, consider the --verbose option.

Prior to 7.75.0 curl did not print the headers if --fail was used in combination with this option and there was an error reported by the server.

This option was called --include before 8.10.0. The previous name remains functional.