From e73e562a63c3ee450755f8dc6432af08fedea932 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 1 Mar 2024 18:21:47 +0100 Subject: [PATCH] Allow curl to use all content encodings --- src/httpfetch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpfetch.cpp b/src/httpfetch.cpp index 355ace357..b5fece2e6 100644 --- a/src/httpfetch.cpp +++ b/src/httpfetch.cpp @@ -236,7 +236,7 @@ HTTPFetchOngoing::HTTPFetchOngoing(const HTTPFetchRequest &request_, curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 3); - curl_easy_setopt(curl, CURLOPT_ENCODING, "gzip"); + curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, ""); // = all supported ones std::string bind_address = g_settings->get("bind_address"); if (!bind_address.empty()) {