From 6808a3d144c6c8f4aa4f54196fe6cedbda1f0805 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 4 Nov 2017 22:19:27 +0100 Subject: [PATCH] httpfetch: Enable gzip support --- src/httpfetch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/httpfetch.cpp b/src/httpfetch.cpp index 3b3f5d331..f7d20100d 100644 --- a/src/httpfetch.cpp +++ b/src/httpfetch.cpp @@ -248,6 +248,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()) { -- 2.25.1