curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Proposal to change default handling for content-encoded responses

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 31 Oct 2018 09:56:01 +0100

On Wed, Oct 31, 2018 at 12:56:37AM +0000, Kartikaya Gupta wrote:
> If there many servers that do this, then silent decompression is likely
> to break things. But maybe sending 'Accept-Encoding: identity' with the
> default request (i.e. when --compressed is not specified) would work
> here?

I doubt that would change anything. Most such servers have a dumb rule to just
Content-Encoding: gzip to any file ending in .gz and nothing the client sends
would change that.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-10-31