commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [Fwd: [HttpClient][PATCH] Correction to addHostRequestHeader +minor formatting cleanups]
Date Thu, 11 Jul 2002 13:51:07 GMT
I don't see how an IP address can't be considered an internet hostname. 
What if I send a GET / HTTP/1.1 to http://192.168.0.1?

If the hostname isn't part of the uri and it isn't the IP address, it 
should be left blank and the GET / would fail, right?
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


Ryan Lubke <Ryan.Lubke@Sun.COM> wrote on 07/11/2002 10:57:10 PM:

> 
> > > 
> > > So you are saying that because an ipaddress is not an internet host
> > > name, the header field must be present but with an empty value. 
Seems
> > > like a reasonable intreptation.  Can anyone confirm that?
> > I dunno....an IP address sounds like a host name to me in the absence 
of 
> > anything else...
> > 
> But should an IP address be considered the same as an internet host
> name?  I don't think they should be considered equivalent.
> 
> Anyone else have input on this?
> 
> 
> 
> 
> --
> To unsubscribe, e-mail: 
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:commons-dev-help@jakarta.apache.org>
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message