HTTP: ignore "Content-Encoding: compress"

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". That means
just ignoring it.
This commit is contained in:
Michael Kaufmann 2015-07-25 00:46:01 +02:00 committed by Daniel Stenberg
parent 98835eed29
commit c5d060cab4
4 changed files with 0 additions and 14 deletions

View file

@ -218,7 +218,6 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
(ssize_t)piece);
break;
case COMPRESS:
default:
failf (conn->data,
"Unrecognized content encoding type. "