[
https://issues.apache.org/jira/browse/HTTPCLIENT-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Leigh updated HTTPCLIENT-1373:
------------------------------------
Attachment: HTTPCLIENT-1373.patch
This patch changes BasicHttpCache to only flush entries if the request was
unsafe and changes CacheInvalidator to consider both Content-Location *and*
Location in the response.
As per http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-22#section-6
James
> OPTIONS and TRACE Should Not Invalidate Cache
> ---------------------------------------------
>
> Key: HTTPCLIENT-1373
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1373
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: CacheHttpClient Caching components
> Affects Versions: 4.3 Beta2
> Reporter: James Leigh
> Labels: patch
> Fix For: 4.3 Beta3
>
> Attachments: HTTPCLIENT-1373.patch
>
>
> The request method should be considered when invalidating cache entries and
> resources specified by the Location response header should also be
> invalidated (i.e. 201 response) where appropriate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]