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 2013/08/09 19:22:51 UTC

[jira] [Updated] (HTTPCLIENT-1368) stale-if-error request cache directive should also apply to non-revalidatable cache entries

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

Jon Moore updated HTTPCLIENT-1368:
----------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 4.2.6)
                       (was: 4.3 Final)
                   Future
       Issue Type: Improvement  (was: Bug)

Since RFC 5861 specifies that the cache MAY return a stale entry rather than an origin error in this case, the current behavior is still compliant, albeit suboptimal. Reclassifying as an improvement.

                
> stale-if-error request cache directive should also apply to non-revalidatable cache entries
> -------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1368
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1368
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpCache
>    Affects Versions: 4.2.4, 4.2.5, 4.3 Beta1
>            Reporter: Jon Moore
>            Priority: Minor
>             Fix For: Future
>
>
> The stale-if-error request cache directive is defined in RFC 5861:
> http://tools.ietf.org/html/rfc5861
> As implemented, this will only apply to cache entries that are revalidatable (i.e. they have an Etag or Last-Modified header and can be refreshed with a conditional request) but it should also apply to any stale cache entry.

--
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org