commit 4ab51d84f7fe5958979dce201d9ed98086f0fe8b
parent e57af5af8713e82f2e9af2461152e2cb4e94db6a
Author: cfillion <cfillion@users.noreply.github.com>
Date: Wed, 10 Aug 2016 20:00:56 -0400
download: enable all content encodings known by curl
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/download.cpp b/src/download.cpp
@@ -119,6 +119,7 @@ DWORD WINAPI Download::Worker(void *ptr)
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, true);
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 5);
+ curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");
curl_easy_setopt(curl, CURLOPT_HEADER, true);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, false);