Help Center> Object Storage Service> SDK Reference> Python> Data Types> Additional Parameter of Performing a Preflight Request on a Bucket

Additional Parameter of Performing a Preflight Request on a Bucket

Namespace

obs.Options

Parameter Description

Field

Type

Optional or Mandatory

Description

origin

str

Mandatory

Origin of the cross-domain request specified by the pre-request. Generally, it is a domain name.

accessControlRequestMethods

list of str

Mandatory

HTTP methods in the cross-domain request. Possible values are:

  • GET
  • PUT
  • HEAD
  • POST
  • DELETE

accessControlRequestHeaders

list of str

Optional

HTTP headers in a cross-domain request