0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 12:33:51 +01:00
synapse/tests/http
Sean Quah 9d8e380d2e
Respect the @cancellable flag for RestServlets and BaseFederationServlets (#12699)
Both `RestServlet`s and `BaseFederationServlet`s register their handlers
with `HttpServer.register_paths` / `JsonResource.register_paths`. Update
`JsonResource` to respect the `@cancellable` flag on handlers registered
in this way.

Although `ReplicationEndpoint` also registers itself using
`register_paths`, it does not pass the handler method that would have the
`@cancellable` flag directly, and so needs separate handling.

Signed-off-by: Sean Quah <seanq@element.io>
2022-05-11 12:25:13 +01:00
..
federation Replace assertEquals and friends with non-deprecated versions. (#12092) 2022-02-28 07:12:29 -05:00
server Add helper class for testing request cancellation (#12630) 2022-05-10 14:06:56 +01:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ca.crt Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
ca.key Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
server.key Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
test_additional_resource.py Add reactor to SynapseRequest and fix up types. (#10868) 2021-09-24 11:01:25 +01:00
test_client.py Use mock from the stdlib. (#9772) 2021-04-09 13:44:38 -04:00
test_endpoint.py Prevent the media store from writing outside of the configured directory 2021-11-19 13:39:15 +00:00
test_fedclient.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
test_proxyagent.py support federation queries through http connect proxy (#10475) 2021-08-11 15:34:59 +01:00
test_servlet.py Respect the @cancellable flag for RestServlets and BaseFederationServlets (#12699) 2022-05-11 12:25:13 +01:00
test_simple_client.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
test_site.py Improved validation for received requests (#9817) 2021-04-23 19:20:44 +01:00