diff options
Diffstat (limited to 'docs/examples')
-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 d8fa5a459..496d88c94 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); |