Hello world,

HttpClient 3.0:

I reuse a single org.apache.commons.httpclient.HttpMethod object for
sending a series of requests with different entities.
Entities have the same content type, but differ in the length.
I replace entities in the HttpMethod object using setRequestEntity()
method.
The method works fine for first request, but does not update
Content-Length header, and sometimes truncates the content in next
requests.

Any idea?

Thanks,
Leonid Tankelevich

Reply via email to