Code

Merge branch 'maint'
[git.git] / t / t5551-http-fetch.sh
index 0bf165bacdf47dd313250756a4e7d569b448de6a..7faa31a299f263b0628d4a23e4500d3e43e0fdda 100755 (executable)
@@ -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
@@ -61,6 +61,9 @@ test_expect_success 'clone http repository' '
 
                /^> User-Agent: /d
                /^> Host: /d
+               /^> POST /,$ {
+                       /^> Accept: [*]\\/[*]/d
+               }
                s/^> Content-Length: .*/> Content-Length: xxx/
                /^> 00..want /d
                /^> 00.*done/d