From c0197f19cfcec0dd1ade0648d123b9399a6a1959 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 May 2003 12:45:14 +0000 Subject: 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. --- lib/transfer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/transfer.c') 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: -- cgit v1.2.3