The behavior of HttpUriRequest.getURI() seems to be inconsistent,
depending on whether the request goes through a proxy or not.

For this example, I'm attempting to access http://zeroc.com/download.html.

Please see the attached source code.  If I run this source code with
no proxy configured, getURI() returns:

/download.html

However, if I change the code to use a proxy, getURI() now returns:

http://zeroc.com/download.html

I've tested this both with the latest releases of httpcore and
httpclient as well as subversion revision 727427, and this behavior
occurs regardless.

Is this expected behavior?  Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to