summaryrefslogtreecommitdiff
path: root/lib/content_encoding.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/content_encoding.h')
-rw-r--r--lib/content_encoding.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/content_encoding.h b/lib/content_encoding.h
index 348ceb154..dfc7097c4 100644
--- a/lib/content_encoding.h
+++ b/lib/content_encoding.h
@@ -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,