[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2023-12-30 Thread Oleg Kalnichevski (Jira)


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

Oleg Kalnichevski updated HTTPCLIENT-1630:
--
Fix Version/s: 5.4-alpha2
   (was: Stuck)

> 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
>Priority: Major
>  Labels: stuck, volunteers-wanted
> Fix For: 5.4-alpha2
>
> Attachments: cachedir.png, code.txt, http-sometimes.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. 
> Additional info: This happens with multiple repeated requests that receive 
> 304. Sometime however the file is served from the cache with no additional 
> copy. See new http-sometimes.txt attachment for what that looks like.
> More info: Code work fine against various URLs that include Cache-Control, 
> etc. in their response, but has the same multiple copy behavior against any 
> response that includes only ETag and Last-Modified. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2017-05-02 Thread Oleg Kalnichevski (JIRA)

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

Oleg Kalnichevski updated HTTPCLIENT-1630:
--
   Labels: stuck volunteers-wanted  (was: )
Fix Version/s: (was: 5.0)
   Stuck

> 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
>  Labels: stuck, volunteers-wanted
> Fix For: Stuck
>
> Attachments: cachedir.png, code.txt, http-sometimes.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. 
> Additional info: This happens with multiple repeated requests that receive 
> 304. Sometime however the file is served from the cache with no additional 
> copy. See new http-sometimes.txt attachment for what that looks like.
> More info: Code work fine against various URLs that include Cache-Control, 
> etc. in their response, but has the same multiple copy behavior against any 
> response that includes only ETag and Last-Modified. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2015-05-22 Thread Oleg Kalnichevski (JIRA)

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

Oleg Kalnichevski updated HTTPCLIENT-1630:
--
Fix Version/s: (was: 4.5)
   5.0

 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
 Fix For: 5.0

 Attachments: cachedir.png, code.txt, http-sometimes.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. 
 Additional info: This happens with multiple repeated requests that receive 
 304. Sometime however the file is served from the cache with no additional 
 copy. See new http-sometimes.txt attachment for what that looks like.
 More info: Code work fine against various URLs that include Cache-Control, 
 etc. in their response, but has the same multiple copy behavior against any 
 response that includes only ETag and Last-Modified. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2015-03-11 Thread Oleg Kalnichevski (JIRA)

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

Oleg Kalnichevski updated HTTPCLIENT-1630:
--
Fix Version/s: 4.5 Alpha1

 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
 Fix For: 4.5 Alpha1

 Attachments: cachedir.png, code.txt, http-sometimes.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. 
 Additional info: This happens with multiple repeated requests that receive 
 304. Sometime however the file is served from the cache with no additional 
 copy. See new http-sometimes.txt attachment for what that looks like.
 More info: Code work fine against various URLs that include Cache-Control, 
 etc. in their response, but has the same multiple copy behavior against any 
 response that includes only ETag and Last-Modified. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2015-03-09 Thread Philip Boutros (JIRA)

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

Philip Boutros updated HTTPCLIENT-1630:
---
Attachment: cachedir.png

 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-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2015-03-09 Thread Philip Boutros (JIRA)

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

Philip Boutros updated HTTPCLIENT-1630:
---
Attachment: http-sometimes.txt

 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-sometimes.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. 
 Additional info: This happens with multiple repeated requests that receive 
 304. Sometime however the file is served from the cache with no additional 
 copy. See new http-sometimes.txt attachment for what that looks like.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2015-03-09 Thread Philip Boutros (JIRA)

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

Philip Boutros updated HTTPCLIENT-1630:
---
Description: 
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. 

Additional info: This happens with multiple repeated requests that receive 304. 
Sometime however the file is served from the cache with no additional copy. See 
new http-sometimes.txt attachment for what that looks like.


  was:
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. 




 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-sometimes.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. 
 Additional info: This happens with multiple repeated requests that receive 
 304. Sometime however the file is served from the cache with no additional 
 copy. See new http-sometimes.txt attachment for what that looks like.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2015-03-09 Thread Philip Boutros (JIRA)

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

Philip Boutros updated HTTPCLIENT-1630:
---
Description: 
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. 

Additional info: This happens with multiple repeated requests that receive 304. 
Sometime however the file is served from the cache with no additional copy. See 
new http-sometimes.txt attachment for what that looks like.

More info: Code work fine against various URLs that include Cache-Control, etc. 
in responses but has the same multiple copy behavior against any response that 
includes only ETag and Last-Modified. 


  was:
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. 

Additional info: This happens with multiple repeated requests that receive 304. 
Sometime however the file is served from the cache with no additional copy. See 
new http-sometimes.txt attachment for what that looks like.



 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-sometimes.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. 
 Additional info: This happens with multiple repeated requests that receive 
 304. Sometime however the file is served from the cache with no additional 
 copy. See new http-sometimes.txt attachment for what that looks like.
 More info: Code work fine against various URLs that include Cache-Control, 
 etc. in responses but has the same multiple copy behavior against any 
 response that includes only ETag and Last-Modified. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1630) 304 response causes multiple copies of file in cache

2015-03-09 Thread Philip Boutros (JIRA)

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

Philip Boutros updated HTTPCLIENT-1630:
---
Description: 
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. 

Additional info: This happens with multiple repeated requests that receive 304. 
Sometime however the file is served from the cache with no additional copy. See 
new http-sometimes.txt attachment for what that looks like.

More info: Code work fine against various URLs that include Cache-Control, etc. 
in their response, but has the same multiple copy behavior against any response 
that includes only ETag and Last-Modified. 


  was:
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. 

Additional info: This happens with multiple repeated requests that receive 304. 
Sometime however the file is served from the cache with no additional copy. See 
new http-sometimes.txt attachment for what that looks like.

More info: Code work fine against various URLs that include Cache-Control, etc. 
in responses but has the same multiple copy behavior against any response that 
includes only ETag and Last-Modified. 



 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-sometimes.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. 
 Additional info: This happens with multiple repeated requests that receive 
 304. Sometime however the file is served from the cache with no additional 
 copy. See new http-sometimes.txt attachment for what that looks like.
 More info: Code work fine against various URLs that include Cache-Control, 
 etc. in their response, but has the same multiple copy behavior against any 
 response that includes only ETag and Last-Modified. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org