setting ENCODING to "" means enable-all-you-support
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2003 12:45:57 +0000 (12:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2003 12:45:57 +0000 (12:45 +0000)
src/main.c

index 85996e2..62348df 100644 (file)
@@ -2952,7 +2952,7 @@ operate(struct Configurable *config, int argc, char *argv[])
 
       /* new in curl 7.10 */
       curl_easy_setopt(curl, CURLOPT_ENCODING, 
-                       (config->encoding) ? "deflate, gzip" : NULL);
+                       (config->encoding) ? "" : NULL);
 
       res = curl_easy_perform(curl);