From c8b79e36db7b6e2f1cd46caef6b070028825423b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Apr 2003 06:34:31 +0000 Subject: [PATCH] Dan Fandrich added support for the gzip Content-Encoding for --compressed --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index f472fbdda..5e7cdfe77 100644 --- a/src/main.c +++ b/src/main.c @@ -363,7 +363,7 @@ static void help(void) " --capath CA directory (made using c_rehash) to verify\n" " peer against (SSL)\n" " --ciphers What SSL ciphers to use (SSL)\n" - " --compressed Request a compressed response (using deflate)."); + " --compressed Request a compressed response (using deflate or gzip)."); puts(" --connect-timeout Maximum time allowed for connection\n" " --create-dirs Create the necessary local directory hierarchy\n" " --crlf Convert LF to CRLF in upload. Useful for MVS (OS/390)\n" @@ -2942,7 +2942,7 @@ operate(struct Configurable *config, int argc, char *argv[]) /* new in curl 7.10 */ curl_easy_setopt(curl, CURLOPT_ENCODING, - (config->encoding) ? "deflate" : NULL); + (config->encoding) ? "deflate, gzip" : NULL); res = curl_easy_perform(curl);