mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
6708498588
Reported-by: Dylan Anthony Fixes #11091 Closes #11092
22 lines
779 B
D
22 lines
779 B
D
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: compressed
|
|
Help: Request compressed response
|
|
Protocols: HTTP
|
|
Category: http
|
|
Example: --compressed $URL
|
|
See-also: compressed-ssh
|
|
Added: 7.10
|
|
Multi: boolean
|
|
---
|
|
Request a compressed response using one of the algorithms curl supports, and
|
|
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
|
|
deliver data compressed.
|