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

Michajlo Matijkiw updated HTTPCLIENT-1015:
------------------------------------------

    Attachment: only-if-cached.patch

This patch adds support for the only-if-cached cache-control directive.  Before 
requests are handed off to the backend it checks for the presence of the 
only-if-cached directive, and if it is set will return a 504.

This patch is submitted with the permission of my employer.

Thank you,
Michajlo

> Support only-if-cached directive
> --------------------------------
>
>                 Key: HTTPCLIENT-1015
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1015
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache
>            Reporter: Michajlo Matijkiw
>         Attachments: only-if-cached.patch
>
>
> Add support for only-if-cached Cache-Control directive- If the request is not 
> servable from the cache, return a 504 Gateway Timeout.  See 
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.4

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to