aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-01-12 09:54:04 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-12 13:09:44 -0800
commit8efa5f629efb9a8af48619ee90dee02343e0f19d (patch)
tree4703d591026c949487f232c13a28a473aa1b3a05 /t
parentfbb9971aca1fef66e622d64418121f6077f05c57 (diff)
downloadgit-8efa5f629efb9a8af48619ee90dee02343e0f19d.tar.gz
git-8efa5f629efb9a8af48619ee90dee02343e0f19d.tar.xz
remote-curl: Fix Accept header for smart HTTP connections
We actually expect to see an application/x-git-upload-pack-result but we lied and said we Accept *-response. This was a typo on my part when I was writing the code. Fortunately the wrong Accept header had no real impact, as the deployed git-http-backend servers were not testing the Accept header before they returned their content. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t5551-http-fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5551-http-fetch.sh b/t/t5551-http-fetch.sh
index c0505ecd7..7faa31a29 100755
--- a/t/t5551-http-fetch.sh
+++ b/t/t5551-http-fetch.sh
@@ -38,7 +38,7 @@ cat >exp <<EOF
> POST /smart/repo.git/git-upload-pack HTTP/1.1
> Accept-Encoding: deflate, gzip
> Content-Type: application/x-git-upload-pack-request
-> Accept: application/x-git-upload-pack-response
+> Accept: application/x-git-upload-pack-result
> Content-Length: xxx
< HTTP/1.1 200 OK
< Pragma: no-cache