You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michajlo Matijkiw (JIRA)" <ji...@apache.org> on 2010/10/18 18:49:24 UTC
[jira] Created: (HTTPCLIENT-1015) Support only-if-cached directive
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
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Updated: (HTTPCLIENT-1015) Support only-if-cached directive
Posted by "Michajlo Matijkiw (JIRA)" <ji...@apache.org>.
[ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Resolved: (HTTPCLIENT-1015) Support only-if-cached directive
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-1015.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 4.1 Alpha3
Patch checked in. Many thanks, Michajlo
Oleg
> 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
> Fix For: 4.1 Alpha3
>
> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org