Skip to content

Commit

Permalink
Enable compressed downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
ranisalt authored and TingPing committed Oct 22, 2023
1 parent 73b5d1e commit 2e15fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/builder-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ builder_download_uri_buffer (GUri *uri,
g_autofree gchar *url = g_uri_to_string (uri);

curl_easy_setopt (session, CURLOPT_URL, url);
curl_easy_setopt (session, CURLOPT_ACCEPT_ENCODING, "");
curl_easy_setopt (session, CURLOPT_REFERER, http_referer);
curl_easy_setopt (session, CURLOPT_WRITEFUNCTION, builder_curl_write_cb);
curl_easy_setopt (session, CURLOPT_WRITEDATA, &write_data);
Expand Down

0 comments on commit 2e15fc9

Please sign in to comment.