commit 5a789e1172c1fae6ebd90e71e1597939caca39f3
Author: Qiu Yu <email address hidden>
Date: Sat Feb 8 23:32:34 2014 +0800
Add HEAD api response for test s3 server BucketHandler
Current nova test s3 server lacks HEAD for BucketHandler. And it becomes
an issue for Boto after version 2.25.0 [1], which changes underlying
implementation of get_bucket method from GET to HEAD request.
This change fixes this gap by adding HEAD response to test s3 server.
And also added cases for testing bucket existence per Boto document
suggestion[2], which applies for both Boto prior to or after version
2.25.0
Reviewed: https:/ /review. openstack. org/76020 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5a789e1172c 1fae6ebd90e71e1 597939caca39f3
Committed: https:/
Submitter: Jenkins
Branch: stable/grizzly
commit 5a789e1172c1fae 6ebd90e71e15979 39caca39f3
Author: Qiu Yu <email address hidden>
Date: Sat Feb 8 23:32:34 2014 +0800
Add HEAD api response for test s3 server BucketHandler
Current nova test s3 server lacks HEAD for BucketHandler. And it becomes
an issue for Boto after version 2.25.0 [1], which changes underlying
implementation of get_bucket method from GET to HEAD request.
This change fixes this gap by adding HEAD response to test s3 server.
And also added cases for testing bucket existence per Boto document
suggestion[2], which applies for both Boto prior to or after version
2.25.0
[1] http:// docs.pythonboto .org/en/ latest/ releasenotes/ v2.25.0. html docs.pythonboto .org/en/ latest/ s3_tut. html#accessing- a-bucket
[2] http://
Closes-bug: #1277790 db14b1b9da7c24e 207e9628ab) 1130ef18c0efd69 7cc8cc6918)
(cherry picked from commit 033f3776c4bc6d0
(cherry picked from commit 2abcc4e04c9838d
Change-Id: If992efa40f7f36 d337d1b9b1f5285 9aa0ae51874