Skip to content

Commit 21f3237

Browse files
committedNov 4, 2017
httpfetch: Enable gzip support
1 parent 2884196 commit 21f3237

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎src/httpfetch.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ HTTPFetchOngoing::HTTPFetchOngoing(const HTTPFetchRequest &request_,
246246
curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1);
247247
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
248248
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 1);
249+
curl_easy_setopt(curl, CURLOPT_ENCODING, "gzip");
249250

250251
std::string bind_address = g_settings->get("bind_address");
251252
if (!bind_address.empty()) {

0 commit comments

Comments
 (0)
Please sign in to comment.