[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252382#comment-13252382
 ] 

Francois-Xavier Bonnet commented on HTTPCLIENT-1183:
----------------------------------------------------

You are right. I have just done almost the same test and had the same result.
Thanks for your help. I had just read the code, next time I will test before 
asking questions.
                
> HTTP/1.0 requests not serveable from cache
> ------------------------------------------
>
>                 Key: HTTPCLIENT-1183
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1183
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: Cache
>            Reporter: Francois-Xavier Bonnet
>            Assignee: Jon Moore
>         Attachments: 1.0-requests-cacheable.patch
>
>
> Any HTTP/1.0 request is considered as not serveable from cache (only HTTP/1.1 
> requests are serveable from cache). This is implemented in method 
> org.apache.http.impl.client.cache.CacheableRequestPolicy.isServableFromCache(HttpRequest)
> What is the reason for this behaviour? According to the specifications, 
> HTTP/1.0 request are supposed to be cacheable even if the mechanism is more 
> primitive than for HTTP/1.1 requests (only based on Expires and Last-Modified 
> headers).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]

Reply via email to