hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brecht Yperman" <Brecht.Yper...@invenso.com>
Subject RE: URL not parsed correctly
Date Thu, 06 Sep 2007 14:33:28 GMT
And dashes - to my knowledge :-)

Anyway: the problem is it tries to connect to port 80 instead of 8080.

If underscores aren't allowed, I'd rather have an exception, instead of
wrongfully parsing. (to
http://vntsxbiklop1_test/axis2/services/wsinterface)

Thanks,
Brecht

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: donderdag 6 september 2007 16:31
To: HttpClient User Discussion
Subject: Re: URL not parsed correctly

On Thu, 2007-09-06 at 14:33 +0200, Brecht Yperman wrote:
> Hi,
> 
> When using HttpClient (from SVN), the following URL isn't parsed
> correctly:
> http://vntsxbiklop1_test:8080/axis2/services/wsinterface
> 
> This has got to have something to do with the underscore, but I can't
> figure out where (somewhere in org.apache.commons.httpclient.URI.
> parseUriReference, I guess).
> 
> Is this a bug, or are underscore just not allowed in domain names?
> 

Brecht,

To my knowledge only letters (A-Z) and numbers (0-9) are permitted in
DNS names.

Oleg

> Thanks,
> Brecht
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
httpclient-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message