swift/swift/common/middleware
Tim Burke 092054da63 s3api: Better handle 498/429 responses
Currently, they just 500 as an unexpected response status. Much better
would be S3's '503 Slow Down' response.

Of course, that's all dependent on where you place ratelimit in your
pipeline -- and we haven't really given clear guidance on that. I'm not
actually sure you *want* ratelimit to be after s3api and auth... but if
you *do*, let's at least handle it gracefully.

Change-Id: I36f0954fd9949d7d1404a0c381b917d1cfb17ec5
Related-Bug: 1669888
(cherry picked from commit f33c061ae9)
2020-01-28 09:57:24 -08:00
..
crypto Fix kms_keymaster under Python 3 2019-10-15 17:45:33 +00:00
s3api s3api: Better handle 498/429 responses 2020-01-28 09:57:24 -08:00
x_profile [Trivial fix]Remove unnecessary slash 2019-05-06 14:23:05 +08:00
__init__.py Rewrite redirection in cname_lookup & domain_remap 2017-05-11 09:46:29 -04:00
account_quotas.py Refactor server side copy as middleware 2016-05-11 14:55:51 -04:00
acl.py Remove our urlparse wrapper 2019-04-10 12:39:09 -07:00
bulk.py Allow bulk to fwd some headers at tar extraction 2020-01-24 06:45:43 +00:00
catch_errors.py Merge "Content-Length enforcement fixups" 2018-06-29 05:43:39 +00:00
cname_lookup.py Allow to configure the nameservers in cname_lookup 2017-06-01 14:02:08 -07:00
container_quotas.py Refactor server side copy as middleware 2016-05-11 14:55:51 -04:00
container_sync.py Make container sync copy SLO manifests 2016-09-14 13:32:00 +01:00
copy.py Consolidate Container-Update-Override headers 2019-08-09 10:35:26 -05:00
crossdomain.py py3: port crossdomain 2018-06-26 13:20:49 -07:00
dlo.py dlo: Respond 200 on multi-range GETs 2019-08-16 16:35:34 -07:00
domain_remap.py swob: Stop auto-encoding unicode bodies 2018-06-28 09:58:44 -07:00
formpost.py py3: Fix formpost unicode filename issues 2020-01-21 17:03:11 +00:00
gatekeeper.py py3: port proxy/controllers/info.py 2018-06-28 09:58:44 -07: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 Increase some middleware test coverage 2019-06-05 06:19:04 +00:00
listing_formats.py Move calls to self.app outside of error handling 2019-06-17 13:43:48 -07:00
memcache.py Use six to fix imports on Python 3 2015-07-24 11:48:28 +02:00
name_check.py add name_check to /info 2017-03-21 10:58:41 +00:00
proxy_logging.py Make log format for requests configurable 2019-05-02 17:43:25 -06:00
ratelimit.py [Trivial fix]Remove unnecessary slash 2019-05-06 14:23:05 +08: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 Merge "py3: port SLO func tests" 2019-08-17 03:19:22 +00:00
staticweb.py Make staticweb return URL-encoded Location headers 2019-04-12 12:29:00 -07:00
symlink.py Fix BadResponseLength error when creating symlink 2019-12-04 17:41:47 +00:00
tempauth.py Merge "Implemented the fix to handle the HTTP request methods other than GET." 2019-03-20 03:13:08 +00:00
tempurl.py py3: Port the tempurl middleware 2019-06-20 12:41:50 -07:00
versioned_writes.py versioned_writes: checks for SLO object before copy 2019-09-15 20:30:56 +07:00
xprofile.py Python3: fix test_xprofile.py 2018-12-12 20:26:10 +01:00