swift/swift/common
Tim Burke 778767f324 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 10:39:25 -08:00
..
middleware s3api: Better handle 498/429 responses 2020-01-28 10:39:25 -08:00
ring Rebuild frags for unmounted disks 2019-02-08 18:04:55 +00:00
__init__.py Start using Hacking 2013-07-15 11:41:58 +02:00
base_storage_server.py Add server type in OPTIONS response 2015-01-30 00:25:28 +05:30
bufferedhttp.py bufferedhttp: ensure query params are properly quoted 2019-09-19 21:26:52 -07:00
constraints.py py3: port copy middleware 2019-02-18 21:32:12 -06:00
container_sync_realms.py Python3: Fix test/unit/common/test_container_sync_realms.py 2019-01-29 09:04:36 -06:00
daemon.py Multiprocess object replicator 2018-04-24 04:05:08 +00:00
db.py py3: port the container 2019-02-20 21:30:46 -06:00
db_replicator.py container-replicator: Add a timeout for get_shard_ranges 2019-08-08 11:21:11 -07:00
direct_client.py py3: Monkey-patch json.loads to accept bytes on py35 2018-11-02 21:38:53 +00:00
exceptions.py Fix socket leak on object-server death 2019-01-31 18:38:35 +00:00
header_key_dict.py Py3: Fixes header key dict 2016-11-08 12:22:12 -08:00
http.py s3api: Better handle 498/429 responses 2020-01-28 10:39:25 -08:00
internal_client.py py3: Monkey-patch json.loads to accept bytes on py35 2018-11-02 21:38:53 +00:00
linkat.py py3: port common/ring/ and common/utils.py 2018-02-12 06:42:24 +00:00
manager.py Add sharder daemon, manage_shard_ranges tool and probe tests 2018-05-18 18:48:13 +01:00
memcached.py py3: Monkey-patch json.loads to accept bytes on py35 2018-11-02 21:38:53 +00:00
request_helpers.py Fix quoting for large objects 2019-03-12 16:08:24 -07:00
splice.py Clean out Python 2.6 leftovers from splice.py 2018-05-24 11:44:49 -07:00
storage_policy.py Configure diskfile per storage policy 2018-08-24 02:29:13 +00:00
swob.py py3: fix copying unicode names 2019-03-01 13:21:16 -08:00
utils.py py3: port formpost middleware 2019-02-26 23:06:52 -06:00
wsgi.py Stop monkey-patching mimetools 2019-03-13 21:51:36 -07:00