hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michajlo Matijkiw (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-1015) Support only-if-cached directive
Date Mon, 18 Oct 2010 20:42:27 GMT

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

> 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

View raw message