cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Patch: No special error handling for "Content-Encoding: compress"

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 25 Jul 2015 01:05:04 +0200 (CEST)

On Mon, 20 Jul 2015, Michael Kaufmann wrote:

> Currently, libcurl rejects responses with "Content-Encoding: compress" when
> CURLOPT_ACCEPT_ENCODING is set to "". I think that libcurl should treat the
> Content-Encoding "compress" the same as other Content-Encodings that it does
> not support, e.g. "bzip2". I have attached a patch for this.

Thanks a lot it makes perfect sense to me too. Merged in commit c5d060cab4.

Next time, please make a complete local commit with a commit message too and
generate the patch with "git format-patch" to make it even easier for us to
apply it!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-25