Skip to content

Commit

Permalink
Allow curl to use all content encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Mar 1, 2024
1 parent e40417f commit e73e562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpfetch.cpp
Expand Up @@ -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()) {
Expand Down

0 comments on commit e73e562

Please sign in to comment.