mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 14:34:23 -04:00
Relax requirement for a content-type on .well-known (#4511)
This commit is contained in:
parent
d02c5ccb11
commit
cc2d650ef7
3 changed files with 14 additions and 21 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue