[
https://issues.apache.org/jira/browse/HDDS-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham updated HDDS-4022:
-------------------------------------
Labels: S3 (was: )
> Ozone s3 API return 400 Bad Request for head-bucket for non existing bucket
> ---------------------------------------------------------------------------
>
> Key: HDDS-4022
> URL: https://issues.apache.org/jira/browse/HDDS-4022
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
> Labels: S3
>
> Ozone s3 API returns 400 Bad Request for head-bucket for non-existing bucket.
> hrt_qa$ aws s3api --ca-bundle=/usr/local/share/ca-certificates/ca.crt
> --endpoint https://s3g:9879/ head-bucket --bucket fsdghj
> An error occurred (400) when calling the HeadBucket operation: Bad Request
> It should return 404 as per AWS documentation:
> https://docs.aws.amazon.com/cli/latest/reference/s3api/head-bucket.html
> A client error (404) occurred when calling the HeadBucket operation: Not
> Found
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]