curl / Mailing Lists / curl-users / Single Mail


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

From: Dan Fandrich <>
Date: Tue, 30 Oct 2018 10:14:06 +0100

On Tue, Oct 30, 2018 at 09:51:30AM +0100, Daniel Stenberg wrote:
> On Tue, 30 Oct 2018, Kartikaya Gupta wrote:
> >Does anybody have examples where turning on automatic content-decoding
> >would adversely impact the use case? Any other comments on changing the
> >default behaviour here?
> I'm in favor of this change unless someone can present a use case indicating
> a risk for serious user discomfort.

Any script that downloads compressed tar balls will suddenly start breaking on
many servers if curl starts silently decompressing them. Many servers mark
these with Content-Encoding: gzip so this is a very common case, I would guess.
I'd say that having it on by default would probably make more sense if it
weren't for this.

>>> Dan
Received on 2018-10-30