h1-mod/deps/curl/docs/cmdline-opts/include.d

21 lines
705 B
D
Raw Normal View History

2024-03-07 00:54:15 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: include
Short: i
Help: Include protocol response headers in the output
See-also: verbose
Protocols: HTTP FTP
Category: important verbose
Example: -i $URL
Added: 4.8
Multi: boolean
---
Include 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.
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 error reported by server.