swift/swift/common/middleware
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
..
crypto replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
s3api s3api: Make UNSIGNED-PAYLOAD requests work again 2021-01-08 14:57:01 -08:00
versioned_writes New proxy logging field for wire status 2020-10-07 01:01:40 +00:00
x_profile Update hacking for Python3 2020-04-03 21:21:07 +02:00
__init__.py Rewrite redirection in cname_lookup & domain_remap 2017-05-11 09:46:29 -04:00
account_quotas.py enforce account quotas on empty accounts 2020-01-31 09:39:17 -08:00
acl.py Use `==` to compare against the empty string, not `is` 2019-10-14 17:40:42 -07:00
bulk.py New Object Versioning mode 2020-01-24 17:39:56 -08:00
catch_errors.py Merge "Content-Length enforcement fixups" 2018-06-29 05:43:39 +00:00
cname_lookup.py Ensure domain stored in memcached gets utf8 decoded on py2 2020-02-11 14:42:33 -08:00
container_quotas.py Refactor server side copy as middleware 2016-05-11 14:55:51 -04:00
container_sync.py New Object Versioning mode 2020-01-24 17:39:56 -08:00
copy.py New Object Versioning mode 2020-01-24 17:39:56 -08:00
crossdomain.py py3: port crossdomain 2018-06-26 13:20:49 -07:00
dlo.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
domain_remap.py py3: Fix non-ascii chars in staticweb listings 2020-09-06 22:04:06 -07:00
etag_quoter.py py3: Make etag-quoter work 2020-04-21 12:27:12 -07:00
formpost.py py3: Fix formpost unicode filename issues 2020-01-15 16:52:37 -08:00
gatekeeper.py Allow internal clients to use reserved namespace 2019-11-27 11:22:00 -06:00
healthcheck.py py3: port healthcheck 2018-06-26 13:20:49 -07:00
keystoneauth.py Fix small formatting issues in middleware docs 2017-11-20 12:22:18 +01:00
list_endpoints.py Update SAIO & docker image to use 62xx ports 2020-07-20 15:17:12 -07:00
listing_formats.py Fix up some Content-Type handling in account/container listings 2020-02-28 18:32:38 -08:00
memcache.py Memcached client TLS support 2021-01-06 09:47:38 -08:00
name_check.py Update hacking for Python3 2020-04-03 21:21:07 +02:00
proxy_logging.py Stop explicitly handling StopIteration in proxy-logging 2020-11-18 11:46:03 -08:00
ratelimit.py Merge "ratelimit: Log proper container path when returning 498 for listings" 2020-12-09 08:48:10 +00:00
read_only.py Read-only middleware fixups 2018-06-11 10:05:49 -07:00
recon.py Have check_drive raise ValueError on errors 2018-06-20 17:15:07 -07:00
slo.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
staticweb.py py3: Fix non-ascii chars in staticweb listings 2020-09-06 22:04:06 -07:00
symlink.py versioning: Have versioning symlinks make pre-auth requests to reserved container 2020-05-26 10:09:56 -05:00
tempauth.py Remove some useless swob.Request attr setting 2020-09-04 11:40:55 -07:00
tempurl.py py3: Port the tempurl middleware 2019-06-20 12:41:50 -07:00
xprofile.py Python3: fix test_xprofile.py 2018-12-12 20:26:10 +01:00