RE: Sending serialized object

2008-03-11 Thread Natarajan_Valli
I don't mind using later version of httpclient if it has solution/fix for this problem. Thanks Valli -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 12:17 PM To: httpclient-users@hc.apache.org Subject: RE: Sending serialized object Htt

RE: Sending serialized object

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 15:17 -0400, [EMAIL PROTECTED] wrote: > HttpClient 3.0.1 > Implement a custom RequestEntity [1]. FileRequestEntity [2] may be a reasonable starting point. Hope this helps Oleg [1] http://hc.apache.org/httpclient-3.x/xref/org/apache/commons/httpclient/methods/RequestEntit

RE: Sending serialized object

2008-03-11 Thread Natarajan_Valli
HttpClient 3.0.1 -Valli -Original Message- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 12:14 PM To: HttpClient User Discussion Subject: Re: Sending serialized object On Tue, 2008-03-11 at 01:49 -0400, [EMAIL PROTECTED] wrote: > > Hi All, > > > > I'

Re: Sending serialized object

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 01:49 -0400, [EMAIL PROTECTED] wrote: > > Hi All, > > > > I'm new to HttpClient package. I've noticed that PostMethod > > class does not have a method that would return OutputStream that I > > could use to write the serialized object in to. This can be done using > > java.

RE: HttpClient GET request for a file > 2G doesn't work

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 11:38 -0700, sjlucas wrote: > > > Eric Cantonna wrote: > > > > Maybe I'm saying something stupid but 2G is awfully close to maxint. Maybe > > there is a count of bytes read/available somewhere that use an int and > > should use a long instead. > > > > Just an idea that cr

Re: properly aborting a GET method?

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 11:25 -0700, George Ludwig wrote: > I am doing some web harvesting, and I'm trying to > better handle the situation where a hostile website > has my connection and then sends a few packets of > garbage data every couple of minutes. > > In the loop where I read data off the i

RE: cookie or session-id is different from the same HttpClient connection?!

2008-03-11 Thread Oleg Kalnichevski
On Tue, 2008-03-11 at 21:23 +0800, micky wrote: > Dear, > > I solved the cookie issues according to the article mentioned by Roland at > http://www.nabble.com/forum/ViewPost.jtp?post=15912252&framed=y > > After I "GET" a request to the server, the session will be established. > The following s

RE: HttpClient GET request for a file > 2G doesn't work

2008-03-11 Thread sjlucas
Eric Cantonna wrote: > > Maybe I'm saying something stupid but 2G is awfully close to maxint. Maybe > there is a count of bytes read/available somewhere that use an int and > should use a long instead. > > Just an idea that crossed my mind. > Right. But since it's HTTPClient's executeMethod

properly aborting a GET method?

2008-03-11 Thread George Ludwig
I am doing some web harvesting, and I'm trying to better handle the situation where a hostile website has my connection and then sends a few packets of garbage data every couple of minutes. In the loop where I read data off the input stream, I check the duration of the entire read process, and if

RE: cookie or session-id is different from the same HttpClient connection?!

2008-03-11 Thread micky
Dear, I solved the cookie issues according to the article mentioned by Roland at http://www.nabble.com/forum/ViewPost.jtp?post=15912252&framed=y After I "GET" a request to the server, the session will be established. The following sequences like POST a data or request any other pages by GET or

RE: HttpClient GET request for a file > 2G doesn't work

2008-03-11 Thread Eric Cantonna
Maybe I'm saying something stupid but 2G is awfully close to maxint. Maybe there is a count of bytes read/available somewhere that use an int and should use a long instead. Just an idea that crossed my mind. _ Comme 9 millions de