Actions
Bug #48722
openThere is a bug in "GetBucketLocation" API when "Bucket" does not exist.
% Done:
100%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When we use the "GetBucketLocation" API and the "Bucket" does not exist, rgw returns an empty XML file instead of a "NoSuchBucket" error, as follows:
<LocationConstraint xmlns="http://s3.amazonaws.com/doc/2006-03-01/"></LocationConstraint>
But "nosuchbucket" is more reasonable.
Actions