Merge pull request #1972 from dvdvdmt/patch-1

Fix a typo
This commit is contained in:
Ilya Kantor 2020-07-18 14:16:21 +03:00 committed by GitHub
commit 668207b4c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -329,7 +329,7 @@ fetch('http://another.com', {
});
```
Now `fetch` sends cookies originating from `another.com` without request to that site.
Now `fetch` sends cookies originating from `another.com` with request to that site.
If the server agrees to accept the request *with credentials*, it should add a header `Access-Control-Allow-Credentials: true` to the response, in addition to `Access-Control-Allow-Origin`.