swift/test/probe
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
..
__init__.py probe tests: Work when fronted by a TLS terminator 2020-05-04 10:54:01 -07:00
brain.py Fix test.probe.brain CLI 2022-09-12 13:54:20 -07:00
common.py swift-manage-shard-ranges repair: check for parent-child overlaps. 2022-09-09 11:04:43 -07:00
test_account_failures.py Remove executable flag from some test modules 2016-10-31 21:22:10 +00:00
test_account_get_fake_responses_match.py probe tests: Work when fronted by a TLS terminator 2020-05-04 10:54:01 -07:00
test_account_reaper.py Update hacking for Python3 2020-04-03 21:21:07 +02:00
test_container_failures.py Allow internal container POSTs to not update put_timestamp 2023-03-20 11:41:27 +00:00
test_container_merge_policy_index.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_container_sync.py Get rid of pipeline_property 2022-01-27 14:40:27 -08:00
test_dark_data.py tests: Make dark data probe tests pass with sync_method = ssync 2023-05-17 15:25:22 -07:00
test_db_replicator.py Apply remote metadata in _handle_sync_response 2018-03-06 19:52:59 +00:00
test_empty_device_handoff.py pep8: Turn on E305 2020-04-03 21:22:38 +02:00
test_mixed_policy_mpu.py s3api: Stop propagating storage policy to sub-requests 2023-11-14 15:09:18 +00:00
test_object_async_update.py func tests: work with etag-quoter on by default 2020-06-01 18:38:23 -05:00
test_object_conditional_requests.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_object_expirer.py support x-open-expired header for expired objects 2024-04-26 10:13:40 +01:00
test_object_failures.py Get rid of port to node assumptions and their modulo kludges 2021-09-30 00:42:24 -05:00
test_object_handoff.py Get rid of port to node assumptions and their modulo kludges 2021-09-30 00:42:24 -05:00
test_object_metadata_replication.py func tests: work with etag-quoter on by default 2020-06-01 18:38:23 -05:00
test_object_partpower_increase.py Drop the unnecessary sudo from probe tests 2021-05-10 17:25:09 -05:00
test_object_versioning.py tests: Fix probe test when encryption is enabled 2024-01-17 10:19:08 -08:00
test_orphan_container.py Band-aid and test the crash of the account server 2021-08-12 16:26:48 -05:00
test_reconstructor_rebuild.py reconstructor: make quarantine delay configurable 2021-07-06 16:41:08 +01:00
test_reconstructor_revert.py Merge "tests: Get test_handoff_non_durable passing with encryption enabled" 2024-01-18 08:47:36 +00:00
test_replication_servers_working.py Have REPLICATE with suffixes just append to hashes.invalid 2020-11-16 08:21:16 -06:00
test_reserved_name.py Allow internal clients to use reserved namespace 2019-11-27 11:22:00 -06:00
test_sharder.py Merge "sharding: don't replace own_shard_range without an epoch" 2024-02-08 01:04:58 +00:00
test_signals.py Merge "probe-tests: Avoid a DuplicateSectionError on py3" 2020-10-07 00:11:43 +00:00