swift/swift
Tim Burke 09a2f93933 s3api: Make UNSIGNED-PAYLOAD requests work again
Previously, we unconditionally lower-cased the client-provided
X-Amz-Content-SHA256 header, which led to SignatureDoesNotMatch errors
since the client and server didn't agree on the canonical request.

Now, only lower-case the value when making comparisons; leave it alone
for signature-calculation purposes.

Change-Id: I746d8e641c884ccd7838082ff07f958ee101de18
Related-Change: I3d6e2e4542a5ed03a6d31ec0ef4837d1de30a045
Closes-Bug: #1910827
2021-01-08 14:57:01 -08:00
..
account replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
cli replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
common s3api: Make UNSIGNED-PAYLOAD requests work again 2021-01-08 14:57:01 -08:00
container Use cached shard ranges for container GETs 2021-01-06 16:28:49 +00:00
locale Imported Translations from Zanata 2020-10-11 08:24:38 +00:00
obj Let developers/operators add watchers to object audit 2020-12-26 17:16:14 -06:00
proxy Use cached shard ranges for container GETs 2021-01-06 16:28:49 +00:00
__init__.py py2: Suppress more CryptographyDeprecationWarnings 2020-11-13 22:04:03 -08:00