Junio C Hamano [off-list ref] writes:
quoted
quoted
It is more about HTTP proxying and it is my understanding that
response to CONNECT method request has that empty line after the
successful (2xx) response line and zero or more response
headers. The code is still wrong; it does not have a loop to
discard the potential response headers that come before the
empty line the code we are discussing discards.
I don't have the original message from Junio where he asks where the
proxy behaviour is officially specified (as the draft has expired long
ago), so I'll answer it here.
There is a comment in the code that says the relevant RFC is 2817,
sections 5.2 and 5.3.
Saludos. Iñaki.
--
School of Management
Mondragon University
20560 Oñati - Spain
+34 943 718009 (ext. 225)