Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-XHRify HTTP: everything except CORS #31013

Merged
merged 6 commits into from
Dec 16, 2023
Prev Previous commit
Next Next commit
Update files/en-us/web/http/headers/access-control-allow-credentials/…
…index.md
  • Loading branch information
wbamberg committed Dec 16, 2023
commit 9a10fa09267196f3b37e197ccd5765c31caeba3c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A client can ask that credentials should be included in cross-site requests in o

If the client has asked for credentials to be included:

- If the request is {{glossary("Preflight_request", "preflighted")}}, then the preflight request does not credentials. If the server's response to the preflight request sets the `Access-Control-Allow-Credentials` header to `true`, then the real request will include credentials: otherwise, the browser reports a network error.
- If the request is {{glossary("Preflight_request", "preflighted")}}, then the preflight request does not include credentials. If the server's response to the preflight request sets the `Access-Control-Allow-Credentials` header to `true`, then the real request will include credentials: otherwise, the browser reports a network error.

- If the request is not preflighted, then the request will include credentials, and if the server's response does not set the `Access-Control-Allow-Credentials` header to `true`, the browser reports a network error.

Expand Down