From ba30c5e0daf5b9108b9249af419ccce75567f97c Mon Sep 17 00:00:00 2001 From: pszlazak <11884243+pszlazak@users.noreply.github.com> Date: Fri, 8 Sep 2023 17:55:11 +0200 Subject: [PATCH] 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 --- docs/cmdline-opts/include.d | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.47.3