mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Allow Date header through CORS (#8804)
This commit is contained in:
parent
89f7930730
commit
3f0cba657c
1
changelog.d/8804.feature
Normal file
1
changelog.d/8804.feature
Normal file
@ -0,0 +1 @@
|
||||
Allow Date header through CORS. Contributed by Nicolas Chamo.
|
@ -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",
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user