mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:23:40 +03:00
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:
parent
98835eed29
commit
c5d060cab4
4 changed files with 0 additions and 14 deletions
|
|
@ -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. "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue