"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "swift/common/middleware/s3api/controllers/location.py" between
swift-2.19.1.tar.gz and swift-2.21.0.tar.gz

About: OpenStack swift is software for creating redundant, scalable object storage using clusters of commodity servers to store terabytes or even petabytes of accessible data (now supporting storage policies).
The "Stein" series (latest release).

location.py  (swift-2.19.1):location.py  (swift-2.21.0)
skipping to change at line 37 skipping to change at line 37
""" """
@public @public
@bucket_operation @bucket_operation
def GET(self, req): def GET(self, req):
""" """
Handles GET Bucket location. Handles GET Bucket location.
""" """
req.get_response(self.app, method='HEAD') req.get_response(self.app, method='HEAD')
elem = Element('LocationConstraint') elem = Element('LocationConstraint')
if self.conf.location != 'US': if self.conf.location != 'us-east-1':
elem.text = self.conf.location elem.text = self.conf.location
body = tostring(elem) body = tostring(elem)
return HTTPOk(body=body, content_type='application/xml') return HTTPOk(body=body, content_type='application/xml')
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)