On Tue, May 19, 2009 at 07:17:58PM -0700, tyweed wrote:
> 
> 
> Please can someone help me! I'm using the apache commons client and 
> am very pleased. However, the specific use I have i need to make sure 
> that the url's and post data are not encoded so that when i make the request
> and get 
> back a response from the server the inputs in the url are not encoded 
> and thus are as they were in response. My job is to look for vulnerabilities
> on web applications and encoding url gets in the way.
> 
> I have done this
> 
> method.setURI(new URI(url, false)); 
> 
> any ideas how i can send an un-encoded request?
> 
> 

Both HttpClient 3.1 and HttpClient 4.0 always encode request URIs as required
by the HTTP spec. I think the only option is to use HttpCore [1] directly,
which allows for any arbitrary request URIs in HTTP requests. HttpCore is a set
of low level transport components HttpClient is based upon. 

http://hc.apache.org/httpcomponents-core/index.html

Oleg

> 
> Thanks,
> 
> Steve
> -- 
> View this message in context: 
> http://www.nabble.com/Need-to-send-uri-that-is-not-encoded-any-way-this-is-possible--tp23627862p23627862.html
> Sent from the HttpClient-User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

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

Reply via email to