summary refs log tree commit diff
path: root/tests/http
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-01-29 16:49:17 +0000
committerGitHub <noreply@github.com>2019-01-29 16:49:17 +0000
commitcc2d650ef72a7b1767888d2a778036de8a90e44d (patch)
treee8996b9a63a6ac363f4ec40ece5abe11489f8393 /tests/http
parentMerge pull request #4498 from matrix-org/travis/fix-docs-public_baseurl (diff)
downloadsynapse-cc2d650ef72a7b1767888d2a778036de8a90e44d.tar.xz
Relax requirement for a content-type on .well-known (#4511)
Diffstat (limited to 'tests/http')
-rw-r--r--tests/http/federation/test_matrix_federation_agent.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/http/federation/test_matrix_federation_agent.py b/tests/http/federation/test_matrix_federation_agent.py
index bd80dd0cb6..11ea8ef10c 100644
--- a/tests/http/federation/test_matrix_federation_agent.py
+++ b/tests/http/federation/test_matrix_federation_agent.py
@@ -146,7 +146,6 @@ class MatrixFederationAgentTests(TestCase):
             [b'testserv'],
         )
         # send back a response
-        request.responseHeaders.setRawHeaders(b'Content-Type', [b'application/json'])
         request.write(b'{ "m.server": "%s" }' % (target_server,))
         request.finish()