Code

Remove a CURLOPT_HTTPHEADER (un)setting
authorMike Hommey <mh@glandium.org>
Mon, 10 Dec 2007 21:36:08 +0000 (22:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Dec 2007 05:31:59 +0000 (21:31 -0800)
commit02dc534fc6eb8a08c686b7cb2d979545853889d0
treede93a82916acfb5604e51baa2e7b3696fd370c6a
parentc20f290808efb85fbc7a57e7bc6eddeb4a0208a8
Remove a CURLOPT_HTTPHEADER (un)setting

Setting CURLOPT_HTTPHEADER doesn't add HTTP headers, but replaces whatever
set of headers was configured before, so setting to NULL doesn't have any
magic meaning, and is pretty much useless when setting to another list
right after.

Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c