hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-840) Content-Length header is not recalculated when setting new RequestEntity (PostMethod#setRequestEntity())
Date Wed, 08 Apr 2009 07:55:13 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Oleg Kalnichevski resolved HTTPCLIENT-840.

    Resolution: Won't Fix

HttpMethod instances are not supposed to be re-used. Consider upgrading to HttpClient 4.0.
There will be no fix for this issue in the 3.x branch.


> Content-Length header is not recalculated when setting new RequestEntity (PostMethod#setRequestEntity())
> --------------------------------------------------------------------------------------------------------
>                 Key: HTTPCLIENT-840
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-840
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 3.1 Final
>         Environment: Tested on Linux and Solaris JRE 1.5.0
>            Reporter: Pontus Ullgren
>         Attachments: ContentLengthBug.java, test.java
> If a PostMethod is reused many times and each time we set a new RequestEntity the Content-Length
header is not re-calculated.
> Instead the old content-lenght is used.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message