versity / versitygw

versity s3 gateway
https://www.versity.com/products/versitygw/
Apache License 2.0
196 stars 25 forks source link

[Bug] - GetBucketVersioning should return empty response for unset versioning config #840

Closed jonaustin09 closed 1 month ago

jonaustin09 commented 1 month ago

Describe the bug GetBucketVersioning should returns non-empty response, when attempting to get unset bucket versioning configuration Sample response from AWS CLI:

{
    "Status": ""
}

To Reproduce

// create a bucket
aws s3api create-bucket --bucket test
// get bucket versioning
aws s3api get-bucket-versioning --bucket test 

Expected behavior The action should response empty response.