vavavr00m / boto

Automatically exported from code.google.com/p/boto
1 stars 0 forks source link

get_contents_to_filename inconsistent cache control #582

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. PUT an S3 object
2. Use get_contents_to_filename with an If-Modified-Since header, specifying a 
time AFTER the object was put.

What is the expected output? What do you see instead?
Expected: An S3ResponseError: 304 Not Modified should be thrown
Output: 304 is thrown every other time the get_contents_to_filename is run with 
the specified headers, even though the server responds correctly. Data is not 
downloaded (correct)

What version of the product are you using? On what operating system?
2.0-0ubuntu1

Original issue reported on code.google.com by teguliza...@gmail.com on 10 Feb 2012 at 8:04