HeadBucket
- Print
- PDF
HeadBucket
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Overview
Gets headers of the requested bucket by making a HEAD request to the bucket. No parameters or payload is used for the operation.
Request
Syntax
HEAD https://{endpoint}/{bucket-name} # path style
HEAD https://{bucket-name}.{endpoint} # virtual host style
Examples
Request example
The following request gets headers of the bucket with the name of “images.”
HEAD /images HTTP/1.1
Content-Type: text/plain
Host: kr.object.ncloudstorage.com
X-Amz-Date: 20160821T052842Z
Authorization:{authorization-string}
Response example
HTTP/1.1 200 OK
Date: Wed, 24 Aug 2016 17:46:35 GMT
Accept-Ranges: bytes
x-amz-request-id: 0c2832e3-3c51-4ea6-96a3-cd8482aca08a
Content-Length: 0
Was this article helpful?