diff options
author | ng0 <ng0@n0.is> | 2019-04-12 17:17:15 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-12 17:17:15 +0000 |
commit | c152da162c9da2798d76372a279056a60721e74e (patch) | |
tree | ab704ab735dbb8707f82adbddcddf1ce093ec2a8 /docs/examples/crawler.c | |
parent | e47d2b1430a54d636f26add05333b0834ed54ed3 (diff) | |
parent | 521bbbe29928f9bc1c61306df612e856d45cbe5a (diff) | |
download | gnurl-c152da162c9da2798d76372a279056a60721e74e.tar.gz gnurl-c152da162c9da2798d76372a279056a60721e74e.tar.bz2 gnurl-c152da162c9da2798d76372a279056a60721e74e.zip |
Merge tag 'curl-7_64_1' of https://github.com/curl/curl
7.64.1
Diffstat (limited to 'docs/examples/crawler.c')
-rw-r--r-- | docs/examples/crawler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/crawler.c b/docs/examples/crawler.c index 32e6050f8..ec3c853fc 100644 --- a/docs/examples/crawler.c +++ b/docs/examples/crawler.c @@ -81,7 +81,7 @@ CURL *make_handle(char *url) curl_easy_setopt(handle, CURLOPT_PRIVATE, mem); /* For completeness */ - curl_easy_setopt(handle, CURLOPT_ENCODING, "gzip, deflate"); + curl_easy_setopt(handle, CURLOPT_ACCEPT_ENCODING, ""); curl_easy_setopt(handle, CURLOPT_TIMEOUT, 5L); curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(handle, CURLOPT_MAXREDIRS, 10L); |