aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/httpfetch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/httpfetch.cpp b/src/httpfetch.cpp
index 140bcbe97..d8504ad64 100644
--- a/src/httpfetch.cpp
+++ b/src/httpfetch.cpp
@@ -246,6 +246,7 @@ HTTPFetchOngoing::HTTPFetchOngoing(const HTTPFetchRequest &request_,
curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 1);
+ curl_easy_setopt(curl, CURLOPT_ENCODING, "gzip");
std::string bind_address = g_settings->get("bind_address");
if (!bind_address.empty()) {