summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-06-16 10:41:58 +0100
committerGitHub <noreply@github.com>2017-06-16 10:41:58 +0100
commit0a9315bbc76956bf6ce255abe6c05b167c372833 (patch)
treecc6136309a0c7327e83afd6235d793c39a48d63b
parentMerge pull request #2281 from matrix-org/erikj/phone_home_stats (diff)
parentallow Authorization header which handling got implemented in #1098 (diff)
downloadsynapse-0a9315bbc76956bf6ce255abe6c05b167c372833.tar.xz
Merge pull request #2285 from krombel/allow_authorization_header
allow Authorization header
-rw-r--r--synapse/http/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index 14715878c5..7ef3d526b1 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -412,7 +412,7 @@ def set_cors_headers(request):
     )
     request.setHeader(
         "Access-Control-Allow-Headers",
-        "Origin, X-Requested-With, Content-Type, Accept"
+        "Origin, X-Requested-With, Content-Type, Accept, Authorization"
     )