swift/test/unit/common/middleware
Samuel Merritt 98d185905a Cleanup for iterators in SegmentedIterable
We had a pair of large, complicated iterators to handle fetching all
the segment data, and they were hard to read and think about. I tried
to break them out into some simpler pieces:

 * one to handle coalescing multiple requests to the same segment

 * one to handle fetching the bytes from each segment

 * one to check that the download isn't taking too long

 * one to count the bytes and make sure we sent the right number

 * one to catch errors and handle cleanup

It's more nesting, but each level now does just one thing.

Change-Id: If6f5cbd79edeff6ecb81350792449ce767919bcc
2018-02-02 11:30:49 -08:00
..
crypto fix barbican integration 2018-01-13 14:40:28 -05:00
__init__.py Initial commit of middleware refactor 2010-08-20 00:42:38 +00:00
helpers.py Fix InternalClient to drain response body if the request fails 2018-01-17 15:30:55 +09:00
test_account_quotas.py Correctly send 412 Precondition Failed in copy middleware 2016-11-17 17:48:24 +00:00
test_acl.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_bulk.py Merge "Fix bulk heartbeating when emitting XML" 2018-01-27 01:37:04 +00:00
test_cname_lookup.py No longer import nose 2017-11-07 15:39:25 +11:00
test_container_sync.py Make container sync copy SLO manifests 2016-09-14 13:32:00 +01:00
test_copy.py Refactor proxy-server conf loading to a helper function 2017-12-07 10:24:30 -08:00
test_crossdomain.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_dlo.py Refactor proxy-server conf loading to a helper function 2017-12-07 10:24:30 -08:00
test_domain_remap.py domain_remap: stop mangling client-provided paths 2017-10-09 23:36:33 +00:00
test_except.py Using assertIsNone() instead of assertEqual(None) 2017-06-07 14:05:53 +08:00
test_formpost.py Using assertIsNone() instead of assertEqual(None) 2017-06-07 14:05:53 +08:00
test_gatekeeper.py Make gate keeper to save relative location header path 2017-09-16 22:03:36 +09:00
test_healthcheck.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_keystoneauth.py Merge "Small readability change to test_keystoneauth" 2017-08-28 10:51:45 +00:00
test_list_endpoints.py Using assertIsNone() instead of assertEqual(None) 2017-06-07 14:05:53 +08:00
test_listing_formats.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
test_memcache.py Clean up memcache tests 2017-10-20 14:48:31 -07:00
test_name_check.py name_check: better test maximum_length 2017-05-16 17:59:52 -07:00
test_proxy_logging.py Merge "More assertion cleanup" 2017-09-13 06:44:02 +00:00
test_quotas.py Correctly send 412 Precondition Failed in copy middleware 2016-11-17 17:48:24 +00:00
test_ratelimit.py Remove some cruft from ratelimit tests 2018-01-31 16:40:21 -08:00
test_recon.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
test_slo.py Cleanup for iterators in SegmentedIterable 2018-02-02 11:30:49 -08:00
test_staticweb.py Move listing formatting out to proxy middleware 2017-09-15 06:38:26 +00:00
test_subrequest_logging.py Remove all post_as_copy related code and configes 2017-09-16 05:50:41 +00:00
test_symlink.py Merge "Remove symlink from xml listing response" 2017-12-15 15:53:31 +00:00
test_tempauth.py Merge "Use swift3's check_signature function" 2017-10-10 00:39:43 +00:00
test_tempurl.py tempurl: Make the digest algorithm configurable 2018-01-31 02:19:18 +00:00
test_versioned_writes.py Merge "Move listing formatting out to proxy middleware" 2017-09-20 01:15:28 +00:00
test_xprofile.py No longer import nose 2017-11-07 15:39:25 +11:00