mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-21 17:55:37 +00:00
![Sean Quah](/assets/img/avatar_default.png)
`DirectServeHtmlResource` and `DirectServeJsonResource` both inherit from `_AsyncResource`. These classes expect to be subclassed with `_async_render_*` methods. This commit has no effect on `JsonResource`, despite inheriting from `_AsyncResource`. `JsonResource` has its own `_async_render` override which will need to be updated separately. Signed-off-by: Sean Quah <seanq@element.io>
2 lines
71 B
Plaintext
2 lines
71 B
Plaintext
Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s.
|