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-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 on this header, see Custom metadata. |
X-Trans-Id | Uuid (Required) | See, Common response headers |
© 2016 Hitachi Data Systems Corporation. All rights reserved.