Skip to content
Snippets Groups Projects
Commit c8b79e36 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Dan Fandrich added support for the gzip Content-Encoding for --compressed

parent 208374bc
No related branches found
No related tags found
No related merge requests found
...@@ -363,7 +363,7 @@ static void help(void) ...@@ -363,7 +363,7 @@ static void help(void)
" --capath <directory> CA directory (made using c_rehash) to verify\n" " --capath <directory> CA directory (made using c_rehash) to verify\n"
" peer against (SSL)\n" " peer against (SSL)\n"
" --ciphers <list> What SSL ciphers to use (SSL)\n" " --ciphers <list> 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 <seconds> Maximum time allowed for connection\n" puts(" --connect-timeout <seconds> Maximum time allowed for connection\n"
" --create-dirs Create the necessary local directory hierarchy\n" " --create-dirs Create the necessary local directory hierarchy\n"
" --crlf Convert LF to CRLF in upload. Useful for MVS (OS/390)\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[]) ...@@ -2942,7 +2942,7 @@ operate(struct Configurable *config, int argc, char *argv[])
/* new in curl 7.10 */ /* new in curl 7.10 */
curl_easy_setopt(curl, CURLOPT_ENCODING, curl_easy_setopt(curl, CURLOPT_ENCODING,
(config->encoding) ? "deflate" : NULL); (config->encoding) ? "deflate, gzip" : NULL);
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment