hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject Re: URL escaping
Date Thu, 15 Jun 2006 15:51:16 GMT
On Thu, Jun 15, 2006 at 05:29:47PM +0200, Roland Weber wrote:
> Use the no-argument constructor of GetMethod, followed by setURI:
> http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/HttpMethodBase.html#setURI(org.apache.commons.httpclient.URI)
> 
> The URI class has plenty of constructors to choose from, some of them
> expect the URL to be escaped, others will do the escaping for you.
> 
> hope that helps,

But what if I don't know is URI escaped or not?
I checked api docs and found I need to explicitly specify whether URI is
escaped or not.

-- 
Eugene N Dzhurinsky

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message