HeadBucket

Last update:2022-03-01 18:32:37

Querying the existence of a bucket. IAM wos:GetBucket permission is required.

Request syntax

HEAD / HTTP/1.1
Host: Bucket.Endpoint
Authorization: authorization
Date: date

URI request parameters

None.

Request header

Please use Common Request Headers .

Request body

None.

Response syntax

HTTP/1.1  status_code
x-wos-request-id: request id
Content-Type: type
Date: date
Content-Length: length
Server: WS-web-server

Response header

Please use Common Response Headers .

Response element

None

Example

HEAD / HTTP/1.1
Date: Fri, 10 Feb 2012 21:34:55 GMT
Authorization: authorization string
Host:bucket.s3-cn-east-1.wcsapi.com
Connection: Keep-Alive


HTTP/1.1 200 OK
x-wos-request-id: 32FE2CEB32F5EE2534FE2CEB32A5472
Date: Fri, 10 2012 21:34:56 GMT
Server: WS-web-server
Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!