From 6708498588729d7e446878297f9ff6f341970a38 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 9 May 2023 08:28:47 +0200 Subject: compressed.d: clarify the words on "not notifying headers" Reported-by: Dylan Anthony Fixes #11091 Closes #11092 --- docs/cmdline-opts/compressed.d | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/cmdline-opts/compressed.d b/docs/cmdline-opts/compressed.d index 97ab1b10b..7dadf1401 100644 --- a/docs/cmdline-opts/compressed.d +++ b/docs/cmdline-opts/compressed.d @@ -10,7 +10,11 @@ Added: 7.10 Multi: boolean --- Request a compressed response using one of the algorithms curl supports, and -automatically decompress the content. Headers are not modified. +automatically decompress the content. + +Response headers are not modified when saved, so if they are "interpreted" +separately again at a later point they might appear to be saying that the +content is (still) compressed; while in fact it has already been decompressed. If this option is used and the server sends an unsupported encoding, curl will report an error. This is a request, not an order; the server may or may not -- cgit v1.2.1