compressed.md (806B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: compressed 5 Help: Request compressed response 6 Protocols: HTTP 7 Category: http 8 Added: 7.10 9 Multi: boolean 10 See-also: 11 - compressed-ssh 12 Example: 13 - --compressed $URL 14 --- 15 16 # `--compressed` 17 18 Request a compressed response using one of the algorithms curl supports, and 19 automatically decompress the content. 20 21 Response headers are not modified when saved, so if they are "interpreted" 22 separately again at a later point they might appear to be saying that the 23 content is (still) compressed; while in fact it has already been decompressed. 24 25 If this option is used and the server sends an unsupported encoding, curl 26 reports an error. This is a request, not an order; the server may or may not 27 deliver data compressed.