The table below describes the headers you can use in a request to check the metadata of an object or directory.
Name | Type | Description |
---|---|---|
Content-Length | String (Required) |
The size, in bytes, of the response body if HCP can determine the size before formulating the response. If the response does not include a response body, the value of the Content-Length is 0 (zero). |
Content-Type | String (Required) |
The Internet media type of the response body if HCP can determine the Internet media type. If HCP cannot determine the Internet media type, the value of this header is application/octet-stream. Because HCP returns error information in a response body, the response to any request can include a Content-Type header. |
Date | Datetime (Required) | See Common response headers |
ETag | String (Required) | This value is the MD5 checksum value of the object content. |
Last-Modified | String (Required) | The date and time that the object was created or the last time that the metadata was modified. |
X-Object-Manifest | String |
For multipart objects, specifies the name of the container in which the parts of the multipart object are stored, followed by the common prefix for the part names, in this format: container-name/prefix This header is returned only for multipart objects. |
X-Object-Meta-name | String (Required) | For object, specifies a custom metadata property/value pair. The response headers include one X-Object-Meta-name header for each applicable pair. For more information about this header, see Custom metadata |
X-Static-Large-Object | String | Always false. HCP does not support static large objects. |
X-Trans-Id | Uuid (Required) | See Common response headers |
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.