Additional Header of the Request for Modifying Object Metadata
Namespace
obs.SetObjectMetadataHeader
Parameter Description
| Field | Type | Optional or Mandatory | Description |
|---|---|---|---|
| removeUnset | bool | Optional | Sets the metadata operation indicator. If the value is False, the metadata operation indicator is REPLACE_NEW. Otherwise, the indicator is REPLACE. The default value is False. REPLACE_NEW: Replaces the metadata that already has a value, assigns a value to the metadata that does not have a value, and retains the metadata that is not specified. REPLACE: Uses the complete header carried in the current request to replace the original one, and deletes metadata that is not specified. |
| location | str | Optional | Location where the object is redirected to, when the bucket is configured with website hosting. |
| cacheControl | str | Optional | Specifies the cache behavior of the web page when an object is downloaded. |
| contentDisposition | str | Optional | Specifies the name of an object when it is downloaded. |
| contentEncoding | str | Optional | Specifies the content encoding format when an object is downloaded. |
| contentLanguage | str | Optional | Specifies the language format of content when an object is downloaded. |
| contentType | str | Optional | Specifies the MIME type of an object when it is uploaded. |
| expires | str | Optional | Specifies the cache expiration time of an object. |
| storageClass | str | Optional | Specifies the Storage Classes of an object. |
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.