mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 11:51:06 +00:00
4b553b448a
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 |
||
---|---|---|
.. | ||
analysis | ||
functional | ||
fuzz | ||
tests | ||
__init__.py | ||
common.py | ||
generate_objects.py | ||
readwrite.py | ||
realistic.py | ||
roundtrip.py |