CORS

Last update:2022-05-20 11:09:10

Cross-origin resource sharing (CORS) allows web applications to access resources that do not belong to the domain.

CDNetworks Object Storage CORS settings consist of one or more CORS rules, and each CORS rule contains the following settings:

  • allowed_origins, the source of allowed cross-domain requests, such as www.my-domain.com, *
  • allowed_methods, HTTP methods allowed for cross-domain requests (PUT, POST, GET, DELETE, HEAD)
  • allowed_headers, headers allowed in the OPTIONS prefetch instruction, such as x-os-test, *
  • expose_headers, which allows users to access response headers from the application
  • Cache Timeout(Seconds), the browser’s prefetch (OPTIONS) request for a specific resource cache time to return the result

China Premium Service控制台自助配置功能上线

Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!