hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Boutros (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache
Date Mon, 09 Mar 2015 18:45:38 GMT

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

Philip Boutros commented on HTTPCLIENT-1630:
--------------------------------------------

Binary compare as identical

> 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


Mime
View raw message