synapse/tests/handlers
Andrew Morgan 7bef97dfb7
Remove trailing slashes from outbound federation requests and retry on 400 (#4840)
As per #3622, we remove trailing slashes from outbound federation requests. However, to ensure that we remain backwards compatible with previous versions of Synapse, if we receive a HTTP 400 with `M_UNRECOGNIZED`, then we are likely talking to an older version of Synapse in which case we retry with a trailing slash appended to the request path.
2019-03-21 15:07:28 +00:00
..
__init__.py Reference Matrix Home Server 2014-08-12 15:10:52 +01:00
test_appservice.py Run black. 2018-08-10 23:54:09 +10:00
test_auth.py add new error type ResourceLimit 2018-08-16 18:02:02 +01:00
test_device.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00
test_directory.py Add test 2019-03-20 14:53:44 +00:00
test_e2e_keys.py Run tests under PostgreSQL (#3423) 2018-08-13 16:47:46 +10:00
test_e2e_room_keys.py make sure version is in body and wrap in linearizer queue 2019-02-08 01:32:45 -05:00
test_presence.py Run black. 2018-08-10 23:54:09 +10:00
test_profile.py Add rate-limiting on registration (#4735) 2019-03-05 14:25:33 +00:00
test_register.py Fix RegistrationTestCase 2019-03-19 12:05:05 +00:00
test_roomlist.py Fix roomlist since tokens on Python 3 (#4046) 2018-10-17 23:04:55 +11:00
test_sync.py rename error code 2018-08-18 14:39:45 +01:00
test_typing.py Remove trailing slashes from outbound federation requests and retry on 400 (#4840) 2019-03-21 15:07:28 +00:00
test_user_directory.py Add test 2019-03-20 15:16:36 +00:00