HEAD Bucket) is used to verify whether a bucket exists and whether you have permission to access it.HEAD / HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: GMT DateAuthorization: Auth String
APPID, such as examplebucket-1250000000 (see Bucket Overview > Basic Information and Bucket Overview > Bucket Naming Conventions), and <Region> is a COS region (see Regions and Access Endpoints).Name | Description | Type |
x-cos-bucket-az-type | Bucket AZ type. This header is returned when the bucket is a multi-AZ bucket, and its value is fixed as MAZ. | Enum |
x-cos-bucket-region | Region where the bucket is located. For enumerated values, see the Regions and Access Domains document, such as ap-beijing, ap-hongkong, and eu-frankfurt. | Enum |
HEAD / HTTP/1.1Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comDate: Tue, 28 May 2019 03:16:12 GMTAuthorization: q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1559013372;1559020572&q-key-time=1559013372;1559020572&q-header-list=date;host&q-url-param-list=&q-signature=****************************************Connection: close
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 0Connection: closeDate: Tue, 28 May 2019 03:16:12 GMTServer: tencent-cosx-cos-bucket-region: ap-beijingx-cos-request-id: NWNlY2E3ZmNfZjhjMDBiMDlfMTBjOWRfZDcz****
HEAD / HTTP/1.1Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comDate: Thu, 04 Jun 2020 06:43:03 GMTAuthorization: q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1591252983;1591260183&q-key-time=1591252983;1591260183&q-header-list=date;host&q-url-param-list=&q-signature=****************************************Connection: close
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 0Connection: closeDate: Thu, 04 Jun 2020 06:43:03 GMTServer: tencent-cosx-cos-bucket-az-type: MAZx-cos-bucket-region: ap-beijingx-cos-request-id: NWVkODk3ZjdfZjI4NWQ2NF9hODhkXzRhNmQ0****
フィードバック