1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: compressed 5*6236dae4SAndroid Build Coastguard WorkerHelp: Request compressed response 6*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP 7*6236dae4SAndroid Build Coastguard WorkerCategory: http 8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.10 9*6236dae4SAndroid Build Coastguard WorkerMulti: boolean 10*6236dae4SAndroid Build Coastguard WorkerSee-also: 11*6236dae4SAndroid Build Coastguard Worker - compressed-ssh 12*6236dae4SAndroid Build Coastguard WorkerExample: 13*6236dae4SAndroid Build Coastguard Worker - --compressed $URL 14*6236dae4SAndroid Build Coastguard Worker--- 15*6236dae4SAndroid Build Coastguard Worker 16*6236dae4SAndroid Build Coastguard Worker# `--compressed` 17*6236dae4SAndroid Build Coastguard Worker 18*6236dae4SAndroid Build Coastguard WorkerRequest a compressed response using one of the algorithms curl supports, and 19*6236dae4SAndroid Build Coastguard Workerautomatically decompress the content. 20*6236dae4SAndroid Build Coastguard Worker 21*6236dae4SAndroid Build Coastguard WorkerResponse headers are not modified when saved, so if they are "interpreted" 22*6236dae4SAndroid Build Coastguard Workerseparately again at a later point they might appear to be saying that the 23*6236dae4SAndroid Build Coastguard Workercontent is (still) compressed; while in fact it has already been decompressed. 24*6236dae4SAndroid Build Coastguard Worker 25*6236dae4SAndroid Build Coastguard WorkerIf this option is used and the server sends an unsupported encoding, curl 26*6236dae4SAndroid Build Coastguard Workerreports an error. This is a request, not an order; the server may or may not 27*6236dae4SAndroid Build Coastguard Workerdeliver data compressed. 28