swift/test/functional
John Dickinson adc568c97f Fix bulk responses when using xml and Expect 100-continue
When we fixed bulk response heartbeating in https://review.openstack.org/#/c/510715/,
code review raised the issue of moving the xml header down to after the
early-exit clauses. At the time, it didn't seem to break anything, so
it was left in place. However, that insight was correct.

The purpose of the earlier patch was to force eventlet to use chunked
transfer encoding on the response in order to prevent eventlet from
buffering the whole response, thus defeating the purpose of the
heartbeat responses.

Moving the first line of the body lower (ie after the early exit
checks), allows other headers in a chunked transfer encoding response
to be appropriately processed before sending the headers. Sending the
xml declaration early causes it to get intermingled in the 100-continue
protocol, thus breaking the chunked transfer encoding semantics.

Closes-Bug: #1819252

Change-Id: I072f4dab21cd7cdb81b9e41072eb504131411dc8
2019-03-18 20:41:29 +00:00
..
s3api Merge "s3api: Delete multipart uploads via multi-delete" 2019-02-23 02:08:40 +00:00
__init__.py Fix bulk responses when using xml and Expect 100-continue 2019-03-18 20:41:29 +00:00
mock_swift_key_manager.py Retrieve encryption root secret from Barbican 2017-08-02 15:53:09 +03:00
swift_test_client.py Clean up func tests ahead of py3 2019-03-01 16:10:53 -08:00
test_access_control.py Merge "Replacing six.iter/dict.iter usages" 2018-09-27 08:43:30 +00:00
test_account.py fix SkipTest imports in functests so they can be run directly by nose 2017-12-18 09:33:40 -08:00
test_container.py Fix up flakey TestContainer.test_PUT_bad_metadata 2019-02-14 21:02:01 +00:00
test_dlo.py dlo: Move conn2 business to the one test that uses it 2017-11-22 16:51:06 -08:00
test_domain_remap.py func tests: Rename storage_url to storage_path 2018-06-15 10:32:05 -07:00
test_object.py Fix bulk responses when using xml and Expect 100-continue 2019-03-18 20:41:29 +00:00
test_slo.py Fix usage of multiple accounts in functional tests 2018-10-30 22:59:22 +00:00
test_staticweb.py Tighten up staticweb redirect test 2018-06-15 10:32:05 -07:00
test_symlink.py Fix flakey symlink setup/teardown 2019-02-05 16:49:13 +00:00
test_tempurl.py Fix usage of multiple accounts in functional tests 2018-10-30 22:59:22 +00:00
test_versioned_writes.py Fix usage of multiple accounts in functional tests 2018-10-30 22:59:22 +00:00
tests.py Clean up func tests ahead of py3 2019-03-01 16:10:53 -08:00