Git fork

http: default text charset to iso-8859-1

This is specified by RFC 2616 as the default if no "charset"
parameter is given.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Jeff King and committed by
Junio C Hamano
c553fd1c fc1b774c

+3
+3
http.c
··· 978 978 while (*p && !isspace(*p)) 979 979 p++; 980 980 } 981 + 982 + if (!charset->len && starts_with(type->buf, "text/")) 983 + strbuf_addstr(charset, "ISO-8859-1"); 981 984 } 982 985 983 986 /* http_request() targets */