hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Johnson <e...@tibco.com>
Subject [PATCH] Sending IP addresses in Host header
Date Fri, 13 Dec 2002 15:29:23 GMT
Oleg noted in a previous email that HttpClient sends a blank Host header 
in the event that the "host" is an IP address rather than a name.  This 
behavior, in Oleg's interpretation and mine, is incorrect, and a IP 
address should also be sent on the Host header.  Both Mozilla and IE 
appear to send IP addresses in the Host header, also disagreeing with 
the current HttpClient implementation.

This change to send a blank occurred with a patch from Ryan Lubke 
(according to CVS logs) that was applied on 7/13/2002.  Ryan, if you're 
out there observing, your feedback would be appreciated.

The attached patch will change HttpClient to be consistent with the 
aforementioned browsers, (and I think with the RFC) as well as fixing 
some issues with the test cases.

-Eric Johnson


Mime
View raw message