mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:03:52 +03:00
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:
parent
3994d67eea
commit
c0197f19cf
4 changed files with 25 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue