Francois-Xavier Bonnet created HTTPCLIENT-1361:
--------------------------------------------------
Summary: stale-while-revalidate should work also without
last-modified nor etag
Key: HTTPCLIENT-1361
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1361
Project: HttpComponents HttpClient
Issue Type: Bug
Components: Cache
Affects Versions: 4.3 Beta1
Reporter: Francois-Xavier Bonnet
Priority: Minor
Currently stale-while-revalidate mechanism works only if the cache entry
contains a last-modified or a etag header. It should work also for cache
entries with expires or max-age.
The specification is not very clear about what a revalidation is, but in the
example there is no last-modified nor etag, only a cache-control: max-age
http://tools.ietf.org/html/rfc5861
If everybody agrees, I can work on a fix.
--
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]