This commit is contained in:
Manik Kapoor 2021-12-13 18:32:24 +05:30
parent 92a8a4050a
commit 353c87dcca

View file

@ -211,7 +211,7 @@ A preflight request uses the method `OPTIONS`, no body and three headers:
- `Access-Control-Request-Method` header has the method of the unsafe request. - `Access-Control-Request-Method` header has the method of the unsafe request.
- `Access-Control-Request-Headers` header provides a comma-separated list of its unsafe HTTP-headers. - `Access-Control-Request-Headers` header provides a comma-separated list of its unsafe HTTP-headers.
- `ORIGIN` header tells from where the request came. (such as `https://javascript.info`) - `Origin` header tells from where the request came. (such as `https://javascript.info`)
If the server agrees to serve the requests, then it should respond with empty body, status 200 and headers: If the server agrees to serve the requests, then it should respond with empty body, status 200 and headers: