You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Philip Boutros (JIRA)" <ji...@apache.org> on 2015/03/09 19:38:38 UTC
[jira] [Commented] (HTTPCLIENT-1630) 304 response causes multiple
copies of file in cache
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353355#comment-14353355 ]
Philip Boutros commented on HTTPCLIENT-1630:
--------------------------------------------
Yes, I'm reusing the same httpClient for both calls.
> 304 response causes multiple copies of file in cache
> ----------------------------------------------------
>
> Key: HTTPCLIENT-1630
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1630
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpCache
> Affects Versions: 4.4 Final
> Reporter: Philip Boutros
> Attachments: cachedir.png, code.txt, http.txt
>
>
> See the attached log of a GET with a 200 response followed by a GET to the same URL which receives a 304 response and a CacheResponseStatus of VALIDATED. Using a HttpClient initialized as in the other attachment, these two requests result in 2 identical files in the cache directory, not one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org