2f607cd319
s3api bucket listing elements currently have LastModified values with millisecond precision. This is inconsistent with the value of the Last-Modified header returned with an object GET or HEAD response which has second precision. This patch reduces the precision to seconds in bucket listings and upload part listings. This is also consistent with observation of an aws listing response. The last modified values in the swift native listing *up* to the nearest second to be consistent with the seconds-precision Last-Modified time header that is returned with an object GET or HEAD. However, we continue to include millisecond digits set to 0 in the last-modified string, e.g.: '2014-06-10T22:47:32.000Z'. Also, fix the last modified time returned in an object copy response to be consistent with the last modified time of the object that was created. Previously it was rounded down, but it should be rounded up. Change-Id: I8c98791a920eeedfc79e8a9d83e5032c07ae86d3 |
||
---|---|---|
.. | ||
s3api | ||
__init__.py | ||
mock_swift_key_manager.py | ||
swift_test_client.py | ||
test_access_control.py | ||
test_account.py | ||
test_container.py | ||
test_dlo.py | ||
test_domain_remap.py | ||
test_object_versioning.py | ||
test_object.py | ||
test_slo.py | ||
test_staticweb.py | ||
test_symlink.py | ||
test_tempurl.py | ||
test_versioned_writes.py | ||
tests.py |