CORS

최신 업데이트:2022-02-09 14:03:38

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

Self-Service Configuration for China Premium Service Onboarding

이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.