xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | c: Copyright (C) 1998 - 2022, 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. Headers are not modified. |
| 14 | |
| 15 | If this option is used and the server sends an unsupported encoding, curl will |
| 16 | report an error. This is a request, not an order; the server may or may not |
| 17 | deliver data compressed. |