summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-02 20:42:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-02 20:42:14 (GMT)
commit0a65df58a0d5b17a72edd4e6247be29ab8af2b09 (patch)
tree1594b2807979694e3bfe96de33ba28e9a5c982b6 /t
parent8a477ddf237978d3f5725b24e286616000ca2ffd (diff)
parentaa90b9697f9275e4f9cb10d274495e7587f217c0 (diff)
downloadgit-0a65df58a0d5b17a72edd4e6247be29ab8af2b09.zip
git-0a65df58a0d5b17a72edd4e6247be29ab8af2b09.tar.gz
git-0a65df58a0d5b17a72edd4e6247be29ab8af2b09.tar.bz2
Merge branch 'sp/maint-http-enable-gzip' into maint
"git fetch" over http advertised that it supports "deflate", which is much less common, and did not advertise more common "gzip" on its Accept-Encoding header. * sp/maint-http-enable-gzip: Enable info/refs gzip decompression in HTTP client
Diffstat (limited to 't')
-rwxr-xr-xt/t5551-http-fetch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh
index 2db5c35..380c175 100755
--- a/t/t5551-http-fetch.sh
+++ b/t/t5551-http-fetch.sh
@@ -32,13 +32,14 @@ setup_askpass_helper
cat >exp <<EOF
> GET /smart/repo.git/info/refs?service=git-upload-pack HTTP/1.1
> Accept: */*
+> Accept-Encoding: gzip
> Pragma: no-cache
< HTTP/1.1 200 OK
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
< Content-Type: application/x-git-upload-pack-advertisement
> POST /smart/repo.git/git-upload-pack HTTP/1.1
-> Accept-Encoding: deflate, gzip
+> Accept-Encoding: gzip
> Content-Type: application/x-git-upload-pack-request
> Accept: application/x-git-upload-pack-result
> Content-Length: xxx