DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19618>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19618

URI class constructors need revision, optimization





------- Additional Comments From [EMAIL PROTECTED]  2003-07-18 22:56 -------
Just to make things more confusing, here's what the JavaDoc for java.net.URI says:

"The single-argument constructor requires any illegal characters in its argument
to be quoted and preserves any escaped octets and other characters that are present.

The multi-argument constructors quote illegal characters as required by the
components in which they appear. The percent character ('%') is always quoted by
these constructors. Any other characters are preserved."

That clears things up, doesn't it?  I suspect the single-argument behavior is
there for compatibility with java.net.URL.

At some point we're going to have to decide how (or whether) HttpClient
interoperates with java.net.URI.  (The APIs are fairly similar.)  Until then,
I'm fine with whatever we do here.

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

Reply via email to