On Wed, Jul 27, 2005 at 03:14:31PM +0800, William Cai wrote:
>
> I am not sure. Just refer to the relevant specifications. However, it should
> work to handle the issue out of httpclient.
> Good luck.
Well, I found this workaround seem to work:
URI uri = new URI(url_string,false);
if ("".equals(uri.getPath()) && uri.getQuery() != null)
uri.setPath("/");
I would be really happy if something like this will be done inside the
HTTPClient when parsing the URL in Get/Head/PostMethod. Just a thought thus =)
--
Eugene N Dzhurinsky
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]