From 21f3237fe95a18e97421ea80762f989c7841a181 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 4 Nov 2017 22:19:27 +0100 Subject: httpfetch: Enable gzip support --- src/httpfetch.cpp | 1 + 1 file changed, 1 insertion(+) 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()) { -- cgit v1.2.3