[ 
https://issues.apache.org/jira/browse/HDDS-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16633913#comment-16633913
 ] 

Elek, Marton commented on HDDS-520:
-----------------------------------

+1.

It looks good to me after HDDS-560

I tried to test goofys with the current state of our s3g and one problem was 
that it expected 404 for the missing keys. This patch solves this problem (the 
other problem was that the list object also should return with 404 if the 
prefix doesn't exist)

> Implement HeadBucket REST endpoint
> ----------------------------------
>
>                 Key: HDDS-520
>                 URL: https://issues.apache.org/jira/browse/HDDS-520
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Elek, Marton
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: newbie
>         Attachments: HDDS-520.00.patch
>
>
> This operation is useful to determine if a bucket exists and you have 
> permission to access it. The operation returns a 200 OK if the bucket exists 
> and you have permission to access it. Otherwise, the operation might return 
> responses such as 404 Not Found and 403 Forbidden.  
> See the reference here:
> https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketHEAD.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to