hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Leigh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1353) 303 Redirects Should be Cacheable
Date Wed, 15 May 2013 18:53:26 GMT

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

James Leigh updated HTTPCLIENT-1353:
------------------------------------

    Attachment: Test303WithExplicitCachingHeaders.patch

Here are some tests for this, but I don't know how to make a configuration option for this
as none of the other cache behaviours appears to be configurable.

@Jon: Is this sufficient for you?
                
> 303 Redirects Should be Cacheable
> ---------------------------------
>
>                 Key: HTTPCLIENT-1353
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1353
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>    Affects Versions: 4.2.5
>            Reporter: James Leigh
>            Assignee: Jon Moore
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: HTTPCLIENT-1353.patch, Test303WithExplicitCachingHeaders.patch
>
>
> The current HTTP draft indicates that 303 is actually cacheable after all, if indicated
by the Cache-Control header.
> http://www.w3.org/Protocols/HTTP/1.1/rfc2616bis/draft-lafon-rfc2616bis-latest.html#rfc.issue.i70-cacheability-of-303
> org.apache.http.impl.client.cache.ResponseCachingPolicy should be changed so that 303
(See Other) is not included in the uncacheableStatuses.

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


Mime
View raw message