Assign CORS headers to requestsCross-Origin Resource Sharing (CORS) is a specification that
defines how browsers and servers communicate across origins by
using HTTP headers, such as those assigned by Object Storage
API requests. The Object Storage API supports these headers.
For more information, see www.w3.org/TR/access-control/.Access-Control-Allow-CredentialsAccess-Control-Allow-MethodsAccess-Control-Allow-OriginAccess-Control-Expose-HeadersAccess-Control-Max-AgeAccess-Control-Request-HeadersAccess-Control-Request-MethodOriginYou can assign these headers to only objects.Assign CORS header request: HTTPThis example assigns the file origin to the
Origin header, which ensures that
the file originated from a reputable source: