summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMichael Telatynski <7t3chguy@gmail.com>2023-07-11 09:18:50 +0100
committerGitHub <noreply@github.com>2023-07-11 09:18:50 +0100
commitb516d919995f3bf36045263376628ff0aa298095 (patch)
tree720dd845bc3678e7288360d5c3ed368fce415fb9 /synapse
parentMake the media `/upload` tracing less ambiguous (#15888) (diff)
downloadsynapse-b516d919995f3bf36045263376628ff0aa298095.tar.xz
Add `Server` to Access-Control-Expose-Headers header (#15908)
Diffstat (limited to 'synapse')
-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 933172c873..e411ac7e62 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -910,7 +910,7 @@ def set_cors_headers(request: SynapseRequest) -> None:
         )
         request.setHeader(
             b"Access-Control-Expose-Headers",
-            b"Synapse-Trace-Id",
+            b"Synapse-Trace-Id, Server",
         )