author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 12 Jan 2010 17:54:04 +0000 (09:54 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Jan 2010 21:09:44 +0000 (13:09 -0800) | ||
commit | 8efa5f629efb9a8af48619ee90dee02343e0f19d | |
tree | 4703d591026c949487f232c13a28a473aa1b3a05 | tree | snapshot |
parent | fbb9971aca1fef66e622d64418121f6077f05c57 | commit | diff |
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>
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>
remote-curl.c | diff | blob | history | |
t/t5551-http-fetch.sh | diff | blob | history |