You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Jon Moore (JIRA)" <ji...@apache.org> on 2011/06/09 17:17:01 UTC
[jira] [Resolved] (HTTPCLIENT-1100) Missing Content-Length header
makes cached entry invalid
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Moore resolved HTTPCLIENT-1100.
-----------------------------------
Resolution: Fixed
> Missing Content-Length header makes cached entry invalid
> --------------------------------------------------------
>
> Key: HTTPCLIENT-1100
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1100
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: Cache
> Affects Versions: 4.1.1, 4.1.2, 4.2 Alpha1
> Reporter: Bart Robeyns
> Assignee: Jon Moore
> Labels: cache, contentlength
> Fix For: 4.1.2, 4.2 Final
>
> Attachments: MissingContentLength.patch, MissingContentLength_with_licence.patch
>
>
> A cached entry whose original response didn't carry a Content-Length header, should not be rejected for considered invalid because the length of its cached content is different from the non-existing Content-Length header value. The attached patch only verifies the lengths if the header was originally present.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org