summary refs log tree commit diff
path: root/tests
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 /tests
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 'tests')
-rw-r--r--tests/test_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_server.py b/tests/test_server.py
index e266c06a2c..dc491e06ed 100644
--- a/tests/test_server.py
+++ b/tests/test_server.py
@@ -268,7 +268,7 @@ class OptionsResourceTests(unittest.TestCase):
         )
         self.assertEqual(
             channel.headers.getRawHeaders(b"Access-Control-Expose-Headers"),
-            [b"Synapse-Trace-Id"],
+            [b"Synapse-Trace-Id, Server"],
         )
 
     def _check_cors_msc3886_headers(self, channel: FakeChannel) -> None: