Re: multipart/mixed and using mime part's charset in Content-Disposition

2010-06-07 Thread Saisatish vedam
On Mon, Jun 7, 2010 at 6:48 PM, Oleg Kalnichevski wrote: > On Mon, 2010-06-07 at 11:52 +0530, Saisatish vedam wrote: > > Hi, > > > > I need to construct a multipart/mixed request with > > (a) Set Content-type hdr (along with charset) for individual mime part > > (b) Encode filename in the Content

Redirect is not followed on POST

2010-06-07 Thread droidin.net
I'm trying to automate 2-step search request. There's no JS and no authentication the form is HTTP Post to ASP page followed by 302 GET redirect which supposed to return batch of search results. Subsequent GET requests can be issued to paginate through results. My problem is that when I execute th

POST without urlencode

2010-06-07 Thread SZERB, Tamas
Hello, Is it possible to send raw or simply turn off the Content-Type: application/x-www-form-urlencoded request header? httpclient 3.1 -- VWOL Tamas SZERB - To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org F

Re: persistent connection on GET

2010-06-07 Thread SZERB, Tamas
oh, it's 3.1 On Mon, Jun 7, 2010 at 10:54 PM, SZERB, Tamas wrote: > Hello, > > is there any way to keep alive the connection what has been > established by GetMethod()? > > Currently, using GetMethod gm = new GetMethod("http://ide/?ez=az";) > and I'd like to re-use the current connection by chang

persistent connection on GET

2010-06-07 Thread SZERB, Tamas
Hello, is there any way to keep alive the connection what has been established by GetMethod()? Currently, using GetMethod gm = new GetMethod("http://ide/?ez=az";) and I'd like to re-use the current connection by changing the `ez' parameter - as I've read the doc, I can't change the request line i

Memory leak - java heap space exception

2010-06-07 Thread andrea.braia
I use HttpComponents 4.0.1 and i have an application that has to do about 20 millions of requests, normal get and post request. I suddenly engaged a memory leak problem... i found several post where many users has the same problem, and they solve it in several ways... but no one seem to be the

Re: multipart/mixed and using mime part's charset in Content-Disposition

2010-06-07 Thread Oleg Kalnichevski
On Mon, 2010-06-07 at 11:52 +0530, Saisatish vedam wrote: > Hi, > > I need to construct a multipart/mixed request with > (a) Set Content-type hdr (along with charset) for individual mime part > (b) Encode filename in the Content-Disposition hdr's using that charset (ex: > for multibyte file names)