curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Uncompress HTTP responses if no Accept-Encoding was sent?

From: Dmitri Tikhonov <dtikhonov_at_litespeedtech.com>
Date: Wed, 25 Apr 2018 08:35:27 -0400

On Wed, Apr 25, 2018 at 01:10:17PM +0200, Rainer Canavan wrote:
> Curl_http_readwrite_headers() explicitly checks if
> data->set.str[STRING_ENCODING] was set (i.e. an Accept-Encoding header
> was sent), and therefore disables compression.
>
> I would simply remove that check for STRING_ENCODING. Opinions?

I agree.

  - Dmitri.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-25