summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorKrombel <krombel@krombel.de>2017-06-16 11:17:10 +0200
committerKrombel <krombel@krombel.de>2017-06-16 11:21:14 +0200
commit1ff419d34317c3141f378750d051def05ce9341c (patch)
treecc6136309a0c7327e83afd6235d793c39a48d63b /synapse/http
parentMerge pull request #2281 from matrix-org/erikj/phone_home_stats (diff)
downloadsynapse-1ff419d34317c3141f378750d051def05ce9341c.tar.xz
allow Authorization header which handling got implemented in #1098
Signed-off-by: Matthias Kesler <krombel@krombel.de>
Diffstat (limited to 'synapse/http')
-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"
     )