mirror of
https://github.com/ceph/s3-tests.git
synced 2025-02-16 11:16:31 +00:00
According to the CORS spec 6.1.1 [1] requests without an Origin header should not return any access-control-* headers. But the current test method expects these headers to be always present in the response. Fix this by defaulting to None if the header is not present. [1] https://www.w3.org/TR/cors/#resource-requests |
||
---|---|---|
.. | ||
__init__.py | ||
AnonymousAuth.py | ||
test_headers.py | ||
test_s3.py | ||
test_s3_website.py | ||
test_utils.py | ||
utils.py |