On Wed, 2010-04-21 at 10:30 +0200, John Smith wrote: > On Wed, Apr 21, 2010 at 9:43 AM, Christophe Marchand > <[email protected]> wrote: > > URLEncoder.encodeUrl(...) ??? > > > > Regards, > > Christophe > > > > No, no. I know that and use. > When I use that I'll transform request from > GET http://localhost/?e...@% > to > GET http://localhost/?er%24%25%40%25 > > It's correct and correspond with RFC. I agree. > > But I need send request WITHOUT any encoding. > > When request (it's just example) > GET http://localhost/?e...@% > send as > GET http://localhost/?e...@% > without any transforming. > > I suppose that sounds some strange, but I need it. > > Of course I can send that if I use plain sockets, but > HttpClient very useful and nice library. I hope that it has implements for > it. > > Christophe, thank you very much for your help! > May be anybody has any other ideas? >
If you are absolutely $...@%ing sure abusing HTTP is not a $...@%ing problem, you can use HttpCore instead of plain sockets. You will lose connection management, cookies and authentication capabilities provided by HttpClient but you will be able to bend HTTP protocol pretty much whatever way you please. HttpCore is used internally by HttpClient Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
