Relax requirement for a content-type on .well-known (#4511)

This commit is contained in:
Richard van der Hoff 2019-01-29 16:49:17 +00:00 committed by GitHub
parent d02c5ccb11
commit cc2d650ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 21 deletions

View file

@ -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()