• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Python SDK)
  4. Data Types
  5. Additional Headers in PUT Object

Additional Headers in PUT Object

Namespace

Class

Module

PutObjectHeader

com.obs.models.put_object_header

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 policy specified for the to-be-created object. Possible values are:

  • private
  • public-read
  • public-read-write
  • authenticated-read
  • bucket-owner-read
  • bucket-owner-full-control

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

SseCHeader

or

SseKmsHeader

Optional

Header for server-side encryption

storageClass

str

Optional

Storage class specified for the to-be-created object. Possible values are:

  • STANDARD
  • STANDARD_IA
  • GLACIER