Skip to content

Commit b7dab7e

Browse files
Add Accept header to list of headers proposal
and fixed small typo
1 parent 207b39e commit b7dab7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Background.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ on a "Pre-flight" OPTIONS request which is inserted before the main request. So
4747
As well as blocking the data, the CORS system blocks headers from the server to the web app.
4848
To prevent this this, the server must send another [header](https://www.w3.org/TR/cors/#access-control-allow-headers-response-header):
4949
```
50-
Access-Control-Allow-Headers: Authorization, User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate
50+
Access-Control-Allow-Headers: Accept, Authorization, User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate
5151
```
52-
This must include things like the Link: header which are normal headers blocked by the browser, and also any new headers the app and serve are using for any purpose.
52+
This must include things like the Link: header which are normal headers blocked by the browser, and also any new headers the app and server are using for any purpose.
5353

5454
### Method blocking
5555

0 commit comments

Comments
 (0)