2
0

compressed.d 775 B

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