curl-library
Patch: No special error handling for "Content-Encoding: compress"
From: Michael Kaufmann <mail_at_michael-kaufmann.ch>
Date: Mon, 20 Jul 2015 16:52:14 +0200
Received on 2015-07-20
Date: Mon, 20 Jul 2015 16:52:14 +0200
Hi,
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.
Regards,
Michael
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/diff attachment: curl-compress.diff