swift/test/functional
indianwhocodes 11eb17d3b2 support x-open-expired header for expired objects
If the global configuration option 'enable_open_expired' is set
to true in the config, then the client will be able to make a
request with the header 'x-open-expired' set to true in order
to access an object that has expired, provided it is in its
grace period. If this config flag is set to false, the client
will not be able to access any expired objects, even with the
header, which is the default behavior unless the flag is set.

When a client sets a 'x-open-expired' header to a true value for a
GET/HEAD/POST request the proxy will forward x-backend-open-expired to
storage server. The storage server will allow clients that set
x-backend-open-expired to open and read an object that has not yet
been reaped by the object-expirer, even after the x-delete-at time
has passed.

The header is always ignored when used with temporary URLs.

Co-Authored-By: Anish Kachinthaya <akachinthaya@nvidia.com>
Related-Change: I106103438c4162a561486ac73a09436e998ae1f0
Change-Id: Ibe7dde0e3bf587d77e14808b169c02f8fb3dddb3
2024-04-26 10:13:40 +01:00
..
s3api lint: Consistently use assertIsInstance 2024-02-07 15:48:39 -08:00
__init__.py tests: swiftclient supports insecure 2023-09-25 15:51:46 -07:00
mock_swift_key_manager.py Retrieve encryption root secret from Barbican 2017-08-02 15:53:09 +03:00
swift_test_client.py slo: part-number=N query parameter support 2024-03-12 06:47:02 -07:00
test_access_control.py Get func tests passing with a minimal proxy pipeline 2020-09-18 13:05:41 -07:00
test_account.py tests: Fix some func tests to do with metadata maximums 2023-02-02 15:34:00 -08:00
test_container.py tests: Fix some func tests to do with metadata maximums 2023-02-02 15:34:00 -08:00
test_dlo.py Fix handling of non-ASCII accounts 2023-06-13 15:28:41 -07:00
test_domain_remap.py Fix handling of non-ASCII accounts 2023-06-13 15:28:41 -07:00
test_object_versioning.py slo: part-number=N query parameter support 2024-03-12 06:47:02 -07:00
test_object.py support x-open-expired header for expired objects 2024-04-26 10:13:40 +01:00
test_protocol.py wsgi: bad request syntax response missing txn-id 2023-08-21 16:53:56 -07:00
test_slo.py slo: part-number=N query parameter support 2024-03-12 06:47:02 -07:00
test_staticweb.py staticweb: Work with prefix-based tempurls 2024-02-05 15:13:12 -08:00
test_symlink.py tempurl: Deprecate sha1 signatures 2022-04-22 20:43:01 +10:00
test_tempurl.py staticweb: Work with prefix-based tempurls 2024-02-05 15:13:12 -08:00
test_versioned_writes.py tests: Let func tests run with test users 1 and 2 but not 3 2023-03-10 14:07:21 -08:00
tests.py slo: part-number=N query parameter support 2024-03-12 06:47:02 -07:00