http-backend test: make empty CONTENT_LENGTH test more realistic
commit806b1687bb2e0d6159a5dbfd8834047a92ab9190
authorMax Kirillov <max@max630.net>
Tue, 11 Sep 2018 20:33:36 +0000 (11 23:33 +0300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Sep 2018 21:01:01 +0000 (11 14:01 -0700)
treece95a629fd3b186525954cbf748161312fef15ed
parent574c513e8dda5598e9e08e8ca2a048bf120a5709
http-backend test: make empty CONTENT_LENGTH test more realistic

This is a test of smart HTTP, so it should use the smart HTTP endpoints
(e.g. /info/refs?service=git-receive-pack), not dumb HTTP (HEAD).

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Max Kirillov <max@max630.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5562-http-backend-content-length.sh