)]}'
{"id":"openstack%2Fpython-swiftclient~269252","triplet_id":"openstack%2Fpython-swiftclient~master~I94d4536cc1489968d45a2b6ba7edd70c85800275","project":"openstack/python-swiftclient","branch":"master","topic":"data-retry","hashtags":[],"change_id":"I94d4536cc1489968d45a2b6ba7edd70c85800275","subject":"Check responses when retrying bodies","status":"MERGED","created":"2016-01-18 19:45:08.000000000","updated":"2016-05-11 07:52:47.000000000","submitted":"2016-05-11 07:52:47.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"4b40cd311dacd658b0c65590fcebf153dd4201e0","_number":269252,"virtual_id_number":269252,"owner":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},{"value":2,"date":"2016-05-11 07:52:47.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},{"value":0,"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},{"value":0,"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"all":[{"value":2,"date":"2016-05-08 21:33:07.000000000","_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":2,"date":"2016-05-04 23:43:18.000000000","_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},{"value":0,"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},{"value":0,"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"all":[{"value":1,"date":"2016-05-08 21:33:07.000000000","_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},{"value":0,"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},{"value":0,"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-05-03 00:46:06.000000000","updated_by":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"reviewer":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"state":"REVIEWER"},{"updated":"2016-05-04 23:43:18.000000000","updated_by":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"reviewer":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"state":"REVIEWER"},{"updated":"2016-05-08 21:33:07.000000000","updated_by":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"reviewer":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"state":"REVIEWER"},{"updated":"2016-05-11 07:52:47.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"7abf5ce8fdcb29050e4a811010a7430c6457448b","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2016-01-18 19:45:08.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"175febe720acd666b49d45e61b91f35b9238cd00","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-01-18 22:07:55.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-pep8 http://logs.openstack.org/52/269252/1/check/gate-python-swiftclient-pep8/24a2e61/ : SUCCESS in 1m 49s\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/52/269252/1/check/gate-python-swiftclient-docs/e5d82fe//doc/build/html/ : SUCCESS in 1m 53s\n- gate-python-swiftclient-python27 http://logs.openstack.org/52/269252/1/check/gate-python-swiftclient-python27/5ad4030/ : SUCCESS in 45s\n- gate-python-swiftclient-python34 http://logs.openstack.org/52/269252/1/check/gate-python-swiftclient-python34/3cb51ad/ : SUCCESS in 1m 39s\n- gate-python-swiftclient-pypy http://logs.openstack.org/52/269252/1/check/gate-python-swiftclient-pypy/080ffd6/ : SUCCESS in 1m 32s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/52/269252/1/check/gate-tempest-dsvm-neutron-src-python-swiftclient/56e390f/ : SUCCESS in 1h 38m 51s\n- gate-swift-dsvm-functional http://logs.openstack.org/52/269252/1/check/gate-swift-dsvm-functional/0b6f74a/ : SUCCESS in 36m 27s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/52/269252/1/check/gate-swiftclient-dsvm-functional/30eecee/ : SUCCESS in 26m 28s","accounts_in_message":[],"_revision_number":1},{"id":"30a92ba9f7477444eac7a99f041208a9472f0599","author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"date":"2016-03-01 10:58:42.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"4f9f2042919017f89e3c2bcc07286a601dd3ef25","author":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"date":"2016-05-02 20:09:52.000000000","message":"Patch Set 1:\n\nThe patch certainly solves the described problem, but I\u0027d like to be convinced that the default behaviour of this patch is what we want. I\u0027m concerned about the potential for a great deal of extra network traffic that could be generated if a middleware exists that causes range requests to be ignored.\n\nWhat I\u0027d really like to understand is the following:\n\n  - Is there any merit in making the retry behaviour optional for 200 responses? (i.e. I can enable the retry if I understand the implications and I know I have a middleware in my pipeline that gives me no other option)\n  - How likely is a middleware to cause this, and should it be considered a middleware bug?","accounts_in_message":[],"_revision_number":1},{"id":"eca8bfeeabae2e89f7eafe20e396ffab852486bf","author":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"date":"2016-05-02 20:11:54.000000000","message":"Patch Set 1: Code-Review-1\n\n(Sorry - failed to set the review score!)\n\nThe patch certainly solves the described problem, but I\u0027d like to be convinced that the default behaviour of this patch is what we want. I\u0027m concerned about the potential for a great deal of extra network traffic that could be generated if a middleware exists that causes range requests to be ignored.\nWhat I\u0027d really like to understand is the following:\n - Is there any merit in making the retry behaviour optional for 200 responses? (i.e. I can enable the retry if I understand the implications and I know I have a middleware in my pipeline that gives me no other option)\n - How likely is a middleware to cause this, and should it be considered a middleware bug?","accounts_in_message":[],"_revision_number":1},{"id":"f08a1fa34a2a74d3cb06bc8bbef6ed01edd7ead1","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2016-05-02 21:19:40.000000000","message":"Patch Set 1:\n\nI used a middleware that just dropped Range headers to test, but I could imagine:\n\n- a middleware incapable of satisfying ranged requests (Large objects using linked lists, maybe? Encryption that doesn\u0027t use CTR definitely.)\n- a proxy not implementing Range support, because they don\u0027t want to cache a bunch of partial responses and proper Range support is hard [1]\n- a Swift-a-like service that prioritized other features ahead of Range support\n\nAny of these would lead to problems with the current retry logic. More generally, for *any* reason [2]:\n\n\u003e A server MAY ignore the Range header field.\n\nI just want to make sure that when we\u0027re retrying, we continue writing the bytes that were intended. We\u0027ve done our best to tell the server \"hey, only send me this piece\"; by the time we\u0027ve discovered we got a 200 instead of a 206, our options are:\n\n- drop bytes on the floor until we find the new bytes we wanted or\n- raise an exception. On a 200. Which seems weird and wrong.\n\nThe excess traffic is unfortunate, but we still have the retry limiting we\u0027ve always had.\n\n(There\u0027s also a reasonably interesting note in section 4.4 [3] which has to do with 416 Range Not Satisfiable responses:\n\n\u003e Because servers are free to ignore Range, many implementations will simply respond with the entire selected representation in a 200 (OK) response.  That is partly because most clients are prepared to receive a 200 (OK) to complete the task (albeit less efficiently) and partly because clients might not stop making an invalid partial request until they have received a complete representation.  Thus, clients cannot depend on receiving a 416 (Range Not Satisfiable) response even when it is most appropriate.\n\nThe \"complete the task (albeit less efficiently)\" bit seems to acknowledge that this is a reasonable – or at least tolerable – behavior.)\n\n[1] https://review.openstack.org/#/c/267237/ – and even there I\u0027m breaking from the RFC\n[2] https://tools.ietf.org/html/rfc7233#section-3.1\n[3] https://tools.ietf.org/html/rfc7233#section-4.4","accounts_in_message":[],"_revision_number":1},{"id":"7d2b48ecef7add006fec1d8df82fd1f87d9b0375","author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"date":"2016-05-03 00:46:06.000000000","message":"Patch Set 1:\n\nIMO, if a Swift middleware breaks Swift\u0027s handling of the Range header for normal objects, it should be considered buggy.\n\nHowever, the proxy that doesn\u0027t support 206 is something worth handling. If a user is stuck behind some craptacular corporate proxy server, then it\u0027s better for retries to work inefficiently than to fail entirely.","accounts_in_message":[],"_revision_number":1},{"id":"58a173107a28131491fdb626385f9b7c95e42336","author":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"date":"2016-05-03 08:41:01.000000000","message":"Patch Set 1:\n\n@sam: I agree that retrying inefficiently is important, but if we do it silently by default then we generate a lot of network traffic and never highlight the issue. I absolutely understand the need for that retry code, I just wonder if it should happen without the user being made aware or having to explicitly enable that behaviour?\n\nIf you guys really believe that this is the correct behaviour I can change to a +2 because I have no issues with the code itself. We can always look at adding an option as a follow-up patch...","accounts_in_message":[],"_revision_number":1},{"id":"a775d0959169037be972c23c9c5b04b2d6e4b938","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2016-05-04 23:29:32.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"15f8a49e0f3e3d72930d04a3bda1069d5767299b","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2016-05-04 23:32:58.000000000","message":"Patch Set 2:\n\nAt Joel\u0027s suggestion, I added a warning if we get an unexpected 200. You can see it pretty easily by adding a middleware like https://gist.github.com/tipabu/b7a4afd14db53e75f37a446db15a14a4 to your pipeline and inserting a self.fail() at the bottom of tests/functional/test_swiftclient.py:TestFunctional.test_download_object_retry_chunked\n\nWarning will look like:\n\n  swiftclient: WARNING: Received 200 while retrying functional-tests-container-1462400263/functional-tests-object-1462400263; seeking...","accounts_in_message":[],"_revision_number":2},{"id":"1f1021265d942fadc7dd8e51a331f7d27b3b18a5","author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"date":"2016-05-04 23:43:18.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"26dc72dff485e1763aa32649015096da236a5df7","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-05-05 00:25:41.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/52/269252/2/check/gate-python-swiftclient-docs/879c735//doc/build/html/ : SUCCESS in 1m 27s\n- gate-python-swiftclient-pep8 http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-pep8/f95eebe/ : SUCCESS in 2m 09s\n- gate-python-swiftclient-python27 http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-python27/232a8c5/ : SUCCESS in 2m 02s\n- gate-python-swiftclient-python34 http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-python34/9a5333c/ : SUCCESS in 2m 02s\n- gate-python-swiftclient-pypy http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-pypy/d61612f/ : SUCCESS in 3m 32s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/52/269252/2/check/gate-tempest-dsvm-neutron-src-python-swiftclient/0cc6784/ : SUCCESS in 52m 50s\n- gate-swift-dsvm-functional http://logs.openstack.org/52/269252/2/check/gate-swift-dsvm-functional/54a356e/ : SUCCESS in 22m 21s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/52/269252/2/check/gate-swiftclient-dsvm-functional/7113df0/ : SUCCESS in 18m 13s","accounts_in_message":[],"_revision_number":2},{"id":"b9a0e451f736913018298efd8fdab8cf83519e09","author":{"_account_id":9216,"name":"Joel Wright","email":"joel.wright@gmail.com","username":"jjw-sohonet"},"date":"2016-05-08 21:33:07.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":2},{"id":"441f807996bec17bd803f14ea9f944e7119ac9d6","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-05-08 21:33:12.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"a1bdad9ec78ab796508b4b97f92c6f2e3cfecc2a","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-05-08 22:30:04.000000000","message":"Patch Set 2: Verified-2\n\nBuild failed (gate pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/52/269252/2/gate/gate-python-swiftclient-docs/fcc17ed//doc/build/html/ : SUCCESS in 1m 55s\n- gate-python-swiftclient-pep8 http://logs.openstack.org/52/269252/2/gate/gate-python-swiftclient-pep8/1481a1a/ : SUCCESS in 1m 55s\n- gate-python-swiftclient-python27 http://logs.openstack.org/52/269252/2/gate/gate-python-swiftclient-python27/10331e5/ : SUCCESS in 1m 59s\n- gate-python-swiftclient-python34 http://logs.openstack.org/52/269252/2/gate/gate-python-swiftclient-python34/25664d8/ : SUCCESS in 3m 06s\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/52/269252/2/gate/gate-tempest-dsvm-neutron-src-python-swiftclient/5bf73f0/ : FAILURE in 56m 51s\n- gate-swift-dsvm-functional http://logs.openstack.org/52/269252/2/gate/gate-swift-dsvm-functional/124214e/ : SUCCESS in 22m 19s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/52/269252/2/gate/gate-swiftclient-dsvm-functional/acaa693/ : SUCCESS in 18m 59s","accounts_in_message":[],"_revision_number":2},{"id":"44ff80e69c142e7dc0836d71061679a5fe884697","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2016-05-11 05:43:18.000000000","message":"Patch Set 2:\n\nrecheck","accounts_in_message":[],"_revision_number":2},{"id":"7e778451ca8e53f1a2fb25c3ea8f7e1903dff757","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-05-11 06:50:11.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/52/269252/2/check/gate-python-swiftclient-docs/b435e27//doc/build/html/ : SUCCESS in 1m 59s\n- gate-python-swiftclient-pep8 http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-pep8/741a6a8/ : SUCCESS in 2m 03s\n- gate-python-swiftclient-python27 http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-python27/72ab06a/ : SUCCESS in 2m 03s\n- gate-python-swiftclient-python34 http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-python34/666ce18/ : SUCCESS in 2m 43s\n- gate-python-swiftclient-pypy http://logs.openstack.org/52/269252/2/check/gate-python-swiftclient-pypy/ae541a9/ : SUCCESS in 1m 50s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/52/269252/2/check/gate-tempest-dsvm-neutron-src-python-swiftclient/0df1b62/ : SUCCESS in 1h 06m 00s\n- gate-swift-dsvm-functional http://logs.openstack.org/52/269252/2/check/gate-swift-dsvm-functional/a6b31fd/ : SUCCESS in 21m 24s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/52/269252/2/check/gate-swiftclient-dsvm-functional/d8cc5d5/ : SUCCESS in 19m 34s","accounts_in_message":[],"_revision_number":2},{"id":"cc47ff5ab5a45e5203f6b44abb7271120973962e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-05-11 06:50:16.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"524c6a9a7754947bf3b996ae27835bee1beba573","date":"2016-05-11 07:52:47.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":2},{"id":"b9ad78213a78b15bc98ba730c6671d542950f499","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-05-11 07:52:47.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-swiftclient-docs http://docs-draft.openstack.org/52/269252/2/gate/gate-python-swiftclient-docs/bdeef74//doc/build/html/ : SUCCESS in 1m 58s\n- gate-python-swiftclient-pep8 http://logs.openstack.org/52/269252/2/gate/gate-python-swiftclient-pep8/d92b24a/ : SUCCESS in 1m 55s\n- gate-python-swiftclient-python27 http://logs.openstack.org/52/269252/2/gate/gate-python-swiftclient-python27/5a0afd4/ : SUCCESS in 1m 57s\n- gate-python-swiftclient-python34 http://logs.openstack.org/52/269252/2/gate/gate-python-swiftclient-python34/d561e58/ : SUCCESS in 3m 17s\n- gate-tempest-dsvm-neutron-src-python-swiftclient http://logs.openstack.org/52/269252/2/gate/gate-tempest-dsvm-neutron-src-python-swiftclient/14764cd/ : SUCCESS in 1h 01m 06s\n- gate-swift-dsvm-functional http://logs.openstack.org/52/269252/2/gate/gate-swift-dsvm-functional/6ff8ac7/ : SUCCESS in 14m 04s\n- gate-swiftclient-dsvm-functional http://logs.openstack.org/52/269252/2/gate/gate-swiftclient-dsvm-functional/4c7760b/ : SUCCESS in 16m 56s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"fd5579a154694418c66075d97f43e5d9d741058b","revisions":{"99e8d975681766ce775195686381a710afd05fd5":{"kind":"REWORK","_number":1,"created":"2016-01-18 19:45:08.000000000","uploader":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"ref":"refs/changes/52/269252/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/52/269252/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/1"}}},"commit":{"parents":[{"commit":"5050027610cb4c8f20c85b7c60c1cc7f2c44121c","subject":"_RetryBody doesn\u0027t need to take explicit etag/content-length","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/5050027610cb4c8f20c85b7c60c1cc7f2c44121c"}]}],"author":{"name":"Tim Burke","email":"tim.burke@gmail.com","date":"2016-01-18 19:38:44.000000000","tz":-480},"committer":{"name":"Tim Burke","email":"tim.burke@gmail.com","date":"2016-01-18 19:38:44.000000000","tz":-480},"subject":"Check responses when retrying bodies","message":"Check responses when retrying bodies\n\nPreviously, if a Range request came back 200 OK (rather than 206 Partial\nContent), we would mangle the response body. This could happen if there\nwas a middleware that would silently drop Range headers, for example.\n\nNow, if the response does not include a Content-Range header, we will\nseek to our previous position in the stream. If the Content-Range header\nhas an unexpected value, we will raise an exception.\n\nChange-Id: I94d4536cc1489968d45a2b6ba7edd70c85800275\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/99e8d975681766ce775195686381a710afd05fd5"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/99e8d975681766ce775195686381a710afd05fd5"}]},"branch":"refs/heads/master"},"fd5579a154694418c66075d97f43e5d9d741058b":{"kind":"REWORK","_number":2,"created":"2016-05-04 23:29:32.000000000","uploader":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"ref":"refs/changes/52/269252/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-swiftclient","ref":"refs/changes/52/269252/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-swiftclient refs/changes/52/269252/2"}}},"commit":{"parents":[{"commit":"5050027610cb4c8f20c85b7c60c1cc7f2c44121c","subject":"_RetryBody doesn\u0027t need to take explicit etag/content-length","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/5050027610cb4c8f20c85b7c60c1cc7f2c44121c"}]}],"author":{"name":"Tim Burke","email":"tim.burke@gmail.com","date":"2016-01-18 19:38:44.000000000","tz":-480},"committer":{"name":"Tim Burke","email":"tim.burke@gmail.com","date":"2016-05-04 22:21:26.000000000","tz":-420},"subject":"Check responses when retrying bodies","message":"Check responses when retrying bodies\n\nPreviously, if a Range request came back 200 OK (rather than 206 Partial\nContent), we would mangle the response body. This could happen if there\nwas a middleware that would silently drop Range headers, for example.\n\nNow, if the response does not include a Content-Range header, we will\nlog a warning and seek to our previous position in the stream. If the\nContent-Range header has an unexpected value, we will raise an exception.\n\nChange-Id: I94d4536cc1489968d45a2b6ba7edd70c85800275\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/fd5579a154694418c66075d97f43e5d9d741058b"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-swiftclient/commit/fd5579a154694418c66075d97f43e5d9d741058b"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
