swift/swift/common/middleware
Tim Burke 4806434cb0 Move listing formatting out to proxy middleware
Make some json -> (text, xml) stuff in a common module, reference that in
account/container servers so we don't break existing clients (including
out-of-date proxies), but have the proxy controllers always force a json
listing.

This simplifies operations on listings (such as the ones already happening in
decrypter, or the ones planned for symlink and sharding) by only needing to
consider a single response type.

There is a downside of larger backend requests for text/plain listings, but
it seems like a net win?

Change-Id: Id3ce37aa0402e2d8dd5784ce329d7cb4fbaf700d
2017-09-15 06:38:26 +00:00
..
crypto Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
x_profile Stop using deprecated 'message' attribute in Exception 2017-07-20 11:33:31 +00: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 py3: Fixes encoding and type error 2016-08-18 11:17:11 +00:00
bulk.py Fix the reST field raises in docstrings 2017-06-28 09:10:24 +08:00
catch_errors.py Mirror X-Trans-Id to X-Openstack-Request-Id 2016-10-30 20:02:39 -07: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 Fix the reST field raises in docstrings 2017-06-28 09:10:24 +08:00
crossdomain.py Fix misspellings in swift 2014-02-20 16:15:48 +08:00
dlo.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
domain_remap.py Rewrite redirection in cname_lookup & domain_remap 2017-05-11 09:46:29 -04:00
formpost.py Fix inline tempurl/formpost signature examples 2017-01-24 08:09:09 +00:00
gatekeeper.py Enable middleware to set metadata on object POST 2016-06-28 11:00:33 +01:00
healthcheck.py Remove some unnecessary error handling in healthcheck 2016-06-29 12:23:02 -07:00
keystoneauth.py Fixed indentation in common/ and obj/ 2017-02-06 16:39:39 +01:00
list_endpoints.py Fix the reST field raises in docstrings 2017-06-28 09:10:24 +08:00
listing_formats.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00: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 py3: Use six.reraise() to reraise an exception 2015-10-08 15:33:26 +02:00
ratelimit.py Fix the reST field raises in docstrings 2017-06-28 09:10:24 +08:00
recon.py Always require device dir for containers 2017-09-01 10:32:12 -07:00
slo.py Fix the reST field raises in docstrings 2017-06-28 09:10:24 +08:00
staticweb.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
tempauth.py Remove tempauth docs from deployment guide 2017-05-25 12:35:46 -07:00
tempurl.py Merge "ISO 8601 timestamps for tempurl" 2017-01-24 22:22:04 +00:00
versioned_writes.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
xprofile.py change default ports for servers 2016-04-29 14:47:38 -04:00