• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (Python SDK)
  4. Data Types
  5. Additional Parameter of an OPTIONS Request

Additional Parameter of an OPTIONS Request

Namespace

Class

Module

Options

com.obs.models.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