From: pszlazak <11884243+pszlazak@users.noreply.github.com> Date: Fri, 8 Sep 2023 15:55:11 +0000 (+0200) Subject: include.d: explain headers not printed with --fail before 7.75.0 X-Git-Tag: curl-8_3_0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba30c5e0daf5b9108b9249af419ccce75567f97c;p=thirdparty%2Fcurl.git include.d: explain headers not printed with --fail before 7.75.0 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 --- diff --git a/docs/cmdline-opts/include.d b/docs/cmdline-opts/include.d index 5491ca140c..ce7b9d87b4 100644 --- a/docs/cmdline-opts/include.d +++ b/docs/cmdline-opts/include.d @@ -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.