Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Allow Date header through CORS (#8804)
Browse files Browse the repository at this point in the history
  • Loading branch information
nchamo authored Dec 1, 2020
1 parent 89f7930 commit 3f0cba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/8804.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow Date header through CORS. Contributed by Nicolas Chamo.
2 changes: 1 addition & 1 deletion synapse/http/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ def set_cors_headers(request: Request):
)
request.setHeader(
b"Access-Control-Allow-Headers",
b"Origin, X-Requested-With, Content-Type, Accept, Authorization",
b"Origin, X-Requested-With, Content-Type, Accept, Authorization, Date",
)


Expand Down

0 comments on commit 3f0cba6

Please sign in to comment.