Help Center> Object Storage Service> SDK Reference> Python> Data Types> Response Result of a Preflight Request on a Bucket

Response Result of a Preflight Request on a Bucket

Namespace

obs.OptionsResponse

Parameter Description

Field

Type

Description

accessContorlAllowOrigin

str

If origin in the request meets the CORS rules of the bucket, allowedOrigin in the CORS rules is returned.

accessContorlAllowHeaders

str

If accessControlRequestHeaders in the request meets the CORS rules of the bucket, allowedHeader in the CORS rules is returned.

accessContorlAllowMethods

str

allowedMethod in the CORS rules of the bucket

accessContorlExposeHeaders

str

exposeHeader in the CORS rules of the bucket

accessContorlMaxAge

int

maxAgeSecond in the CORS rules of the bucket