custom request header with options does not response
Open
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
about automatically options problem if xhr has custom header:
OPTIONS /api/lineprocess HTTP/1.1
Access-Control-Request-Headers: token
but response doesn't Real execution with:
Access-Control-Allow-Headers:Referer,Origin,Content-Type,api_key,token,Authorization,X-Requested-With
Need to explicitly specify: $api->options(...)
Contributor guide
Assessment
This issue has not been assessed yet.