]> git.ipfire.org Git - thirdparty/git.git/blobdiff - remote-curl.c
remote-curl: accept all encodings supported by curl
[thirdparty/git.git] / remote-curl.c
index ceb05347bd18c3c0ea4e7cfd7ffe09a072b722ce..565bba104319f7bf987ef92e885eee27b3b96a58 100644 (file)
@@ -684,7 +684,7 @@ retry:
        curl_easy_setopt(slot->curl, CURLOPT_NOBODY, 0);
        curl_easy_setopt(slot->curl, CURLOPT_POST, 1);
        curl_easy_setopt(slot->curl, CURLOPT_URL, rpc->service_url);
-       curl_easy_setopt(slot->curl, CURLOPT_ENCODING, "gzip");
+       curl_easy_setopt(slot->curl, CURLOPT_ENCODING, "");
 
        if (large_request) {
                /* The request body is large and the size cannot be predicted.