Merge branch 'mk/http-backend-content-length'
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Sep 2018 17:29:16 +0000 (10:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Sep 2018 17:35:42 +0000 (10:35 -0700)
The earlier attempt barfed when given a CONTENT_LENGTH that is
set to an empty string. RFC 3875 is fairly clear that in this
case we should not read any message body, but we've been reading
through to the EOF in previous versions (which did not even pay
attention to the environment variable), so keep that behaviour for
now in this late update.

* mk/http-backend-content-length:
http-backend: allow empty CONTENT_LENGTH

1  2 
http-backend.c
diff --cc http-backend.c
Simple merge