curl-users
Re: Proposal to change default handling for content-encoded responses
Date: Wed, 31 Oct 2018 16:17:24 +0100
On Oct 31 13:12:24, daniel_at_haxx.se wrote:
> On Wed, 31 Oct 2018, Jan Stary wrote:
>
> > > I also looked at the relevant HTTP spec [2], which says
> > > (paraphrasing) that a request without any Accept-Encoding headers
> > > means the server can send any Content-Encoding in response.
> > > Personally, I think that if the client side is capable of decoding
> > > the encoding, it should attempt to do so, as that provides the most
> > > useful default.
> >
> > Yes.
>
> Strictly speaking and protocol-wise, the header just tells the client that
> the content is compressed.
At the risk of splitting hair, it tells the client
that the server _has_compressed_ the content it is sending, right?
Which seems to be exactly the difference when sending a file.tar.gz
which the server is not compressing.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-10-31