Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 806 Bytes

compressed.md

File metadata and controls

27 lines (23 loc) · 806 Bytes
c SPDX-License-Identifier Long Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <[email protected]>, et al.
curl
compressed
Request compressed response
HTTP
http
7.1
boolean
compressed-ssh
--compressed $URL

--compressed

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 reports an error. This is a request, not an order; the server may or may not deliver data compressed.