We had this same conversation on commons-dev. This does appear to be a
contentious issue. Personally I don't really mind if my name appears
in a file or not. I think it is all about the community.
There is a difference between the developer and the contributor though.
I think it is the
On 25 Feb 2004, at 14:43, Ortwin Glück wrote:
John Keyes wrote:
My point here is that if I have X requests then there can be
X * CONTENT_LENGTH_CHUNKED
bytes in memory at one time.
I see what you mean. But the above calculation does not make sense:
CONTENT_LENGTH_CHUNKED is a (negative
still don't see the problem. The OutputStream and InputStream can be
wrapped so there is no loss of control. Why do you think control would
be lost?
-John K
-Eric.
John Keyes wrote:
Guys,
A colleague pointed out to me that this does not in fact resolve the
situation. The solutions
On 24 Feb 2004, at 14:36, Stefan Dingfelder wrote:
John Keyes schrieb:
For (a), Oleg's response is correct. You might easily be confused,
in the sense that HttpClient's API inverts the control. It is not
that you write to an OutputStream to send your data, it is that
you provide HttpClient
On 24 Feb 2004, at 14:39, Ortwin Glück wrote:
John Keyes wrote:
In both cases, it is possible to get the behavior that you desire.
Not it is not. Again think of XXX,000 of requests.
I am getting a little angry by now. C'mon man, we wrote this baby and
we know very well what's possible
lots_snipped/
Again, comments and feedback or a patch for bug 26070 would be welcome.
Okay, I'll investigate it more and see what I come up with,
-John K
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
to process around 70,000
requests a minute.
-John K
Oleg
-Original Message-
From: John Keyes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 16:59
To: Commons HttpClient Project
Subject: Re: streaming request body
On 24 Feb 2004, at 14:36, Stefan Dingfelder wrote:
John Keyes
Hi,
I notice you have separated out the functions of the connection and the
content creation. So the code must be something like
HttpClient client = new HttpClient( url );
HttpMethod method = new GetMethod();
method.setRequestHeader( ... ); ...
method.setRequestBody( ... );
-commons/
httpclient/src/examples/ChunkEncodedPost.java?content-
type=text%2Fplainrev=1.4.2.1
Hope this helps
Oleg
-Original Message-
From: John Keyes [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 13:54
To: [EMAIL PROTECTED]
Subject: streaming request body
Hi,
I notice you have
/ChunkEncodedPost.java?content-
type=text%2Fplainrev=1.4.2.1
Hope this helps
Oleg
-Original Message-
From: John Keyes [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 13:54
To: [EMAIL PROTECTED]
Subject: streaming request body
Hi,
I notice you have separated out the functions
10 matches
Mail list logo