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.
This commit is contained in:
Daniel Stenberg 2003-05-12 12:45:14 +00:00
parent 3994d67eea
commit c0197f19cf
4 changed files with 25 additions and 2 deletions

View file

@ -20,6 +20,16 @@
*
* $Id$
***************************************************************************/
#include "setup.h"
/*
* Comma-separated list all supported Content-Encodings ('identity' is implied)
*/
#ifdef HAVE_LIBZ
#define ALL_CONTENT_ENCODINGS "deflate, gzip"
#else
#define ALL_CONTENT_ENCODINGS "identity"
#endif
CURLcode Curl_unencode_deflate_write(struct SessionHandle *data,
struct Curl_transfer_keeper *k,