Skip to content

Commit

Permalink
include.d: explain headers not printed with --fail before 7.75.0
Browse files Browse the repository at this point in the history
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 curl#11822
  • Loading branch information
pszlazak authored and ptitSeb committed Sep 25, 2023
1 parent 6f15a5d commit ff98d20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/cmdline-opts/include.d
Expand Up @@ -14,3 +14,6 @@ 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.

0 comments on commit ff98d20

Please sign in to comment.