aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-12 12:45:14 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-12 12:45:14 +0000
commitc0197f19cfcec0dd1ade0648d123b9399a6a1959 (patch)
tree3ecaac4877588f350d755323cc53bab5e093869c /lib/transfer.c
parent3994d67eea975507e1ba0f180680d9e237ddacf0 (diff)
Dan Fandrich changed CURLOPT_ENCODING to select all supported encodings if
set to "". This frees the application from having to know which encodings the library supports.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index c5c2787a2..9befa5585 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -893,7 +893,9 @@ CURLcode Curl_readwrite(struct connectdata *conn,
if(k->badheader < HEADER_ALLBAD) {
/* This switch handles various content encodings. If there's an
error here, be sure to check over the almost identical code
- in http_chunks.c. 08/29/02 jhrg */
+ in http_chunks.c. 08/29/02 jhrg
+ Make sure that ALL_CONTENT_ENCODINGS contains all the
+ encodings handled here. */
#ifdef HAVE_LIBZ
switch (k->content_encoding) {
case IDENTITY: