remote-curl: Fix Accept header for smart HTTP connections
commit8efa5f629efb9a8af48619ee90dee02343e0f19d
authorShawn O. Pearce <spearce@spearce.org>
Tue, 12 Jan 2010 17:54:04 +0000 (12 09:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jan 2010 21:09:44 +0000 (12 13:09 -0800)
tree4703d591026c949487f232c13a28a473aa1b3a05
parentfbb9971aca1fef66e622d64418121f6077f05c57
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>
remote-curl.c
t/t5551-http-fetch.sh