Hello Ole,

> contains a ref which is removed by the httpclient URI 
> class.. 

It is not removed by the URI class. It is dropped by the
HTTP logic in HttpMethodBase.

> is that "correct" behaviour?

Yes, for the HTTP logic. If it was the URI class that
dropped the reference, that would be a bug.

> are refs "invalid" in a URI?

No.

> (The 
> java.net.URL class handles refs correctly)..

And so does the URI class. The java.net.HttpURLConnection
will drop the reference when generating a request.

> Should I tell him not to 
> use the "#" character in a URI?

It doesn't matter. As long as he/you are aware that the
reference will not be sent to the server.

cheers,
  Roland


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

Reply via email to