My understanding is that HTTP URLs do not include user info and thus that data should be stripped (or probably an exception should be thrown if we're being strict about it). FTP URLs on the other hand do. Having said that, there's no harm in preserving the user credentials so that they can be returned by the URI class, but it would be messy to try and actually use the credentials from the URL in HttpClient for authentication.

From RFC 2616:
   http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?" query ]]

So should we definitely should never use the credentials from the URI but we could add a method that allows you to get them back out if required.

Regards,

Adrian Sutton.
On Friday, July 11, 2003, at 02:58  AM, Oleg Kalnichevski wrote:

Why is this the case? I have no idea. Anyone else has some thoughts on
this one?



Sung-Gu, maybe?


Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to