Additional Header of the Request for Uploading an Object
Namespace
obs.PutObjectHeader
Parameter Description
|
Field |
Type |
Optional or Mandatory |
Description |
|---|---|---|---|
|
md5 |
str |
Optional |
Base64-encoded MD5 value of the object data to be uploaded. It is provided for the OBS server to verify data integrity. |
|
acl |
str |
Optional |
Pre-defined Access Control Policies specified during the object upload |
|
location |
str |
Optional |
Location where the object is redirected to, when the bucket is configured with website hosting. |
|
contentType |
str |
Optional |
MIME type of the object |
|
contentLength |
int |
Optional |
Object size in bytes |
|
sseHeader |
or |
Optional |
Header for server-side encryption |
|
storageClass |
str |
Optional |
Storage Classes, which can be specified during the object creation |
|
successActionRedirect |
str |
Optional |
Redirection address after the upload is successful |
|
extensionGrants |
list of ExtensionGrant |
Optional |
Extended permission list for the to-be-uploaded object |
|
expires |
int |
Optional |
Expiration time of an object to be uploaded, in days. |
Last Article: Response Result of the Request for Copying an Object
Next Article: Response Result of the Request for Uploading an Object
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.