Access-Control-Request-Method
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Access-Control-Request-Method
请求标头会由浏览器在发出预检请求时使用,通知服务器在实际请求中发出时将会采用哪种 HTTP 方法。此标头是必需的,因为预检请求总是采用 OPTIONS
方法,这与实际请求所使用的方法并不相同。
语法
http
Access-Control-Request-Method: <method>
指令
示例
http
Access-Control-Request-Method: POST
规范
Specification |
---|
Fetch # http-access-control-request-method |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Access-Control-Request-Method |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.