diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2015-07-25 00:46:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-07-25 00:46:01 +0200 |
commit | c5d060cab47037163fa803a598fedd9e989ca83b (patch) | |
tree | c9808861f8835d4bc12e7ce9e0858a05d32f477c /lib/urldata.h | |
parent | 98835eed29cd1f3451f0fb16ce1d4551a0e07df4 (diff) |
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.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 06559229b..b1c2056c5 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -660,7 +660,6 @@ struct SingleRequest { #define IDENTITY 0 /* No encoding */ #define DEFLATE 1 /* zlib deflate [RFC 1950 & 1951] */ #define GZIP 2 /* gzip algorithm [RFC 1952] */ -#define COMPRESS 3 /* Not handled, added for completeness */ #ifdef HAVE_LIBZ zlibInitState zlib_init; /* possible zlib init state; |