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-965) cache does not honor must-revalidate or proxy-revalidate Cache-Control directives
Date Wed, 07 Jul 2010 16:12:49 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-965.
------------------------------------------

    Fix Version/s: 4.1 Alpha3
       Resolution: Fixed

Patch checked in. Many thanks, Jon

Oleg

> cache does not honor must-revalidate or proxy-revalidate Cache-Control directives
> ---------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-965
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-965
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 4.1 Alpha2
>            Reporter: Jonathan Moore
>             Fix For: 4.1 Alpha3
>
>         Attachments: must-revalidate.patch
>
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.4
> There are a couple of missed requirements here regarding must-revalidate and proxy-revalidate
(which applies only to shared caches).
> 1. When a cache entry with this directive is revalidated, it must be an end-to-end revalidation
(meaning it must include 'max-age=0' on the request).
> 2. If the revalidation with the origin fails, the cache MUST NOT return a stale entry
and MUST return a 504 response.

-- 
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


Mime
View raw message