mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
ba30c5e0da
Prior to 7.75.0 response headers were not printed if -f/--fail was used
and an error was reported by server. This was fixed in ab525c0
(precedes 7.75.0).
Closes #11822
20 lines
627 B
Makefile
20 lines
627 B
Makefile
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
|
|
Category: important verbose
|
|
Example: -i $URL
|
|
Added: 4.8
|
|
Multi: boolean
|
|
---
|
|
Include the HTTP response headers in the output. The HTTP response headers can
|
|
include things like server name, cookies, date of the document, HTTP version
|
|
and more...
|
|
|
|
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.
|