diff options
| author | Sean Quah <seanq@element.io> | 2022-04-28 15:50:37 +0100 |
|---|---|---|
| committer | Sean Quah <seanq@element.io> | 2022-04-28 19:28:00 +0100 |
| commit | 46cdb4bd0746df6aad0b2408beb35b38b5a94c18 (patch) | |
| tree | d4786f5ff0555358b3ed5c665d074b94f887cc9c /scripts-dev | |
| parent | Capture the `Deferred` for request cancellation in `_AsyncResource` (diff) | |
| download | synapse-46cdb4bd0746df6aad0b2408beb35b38b5a94c18.tar.xz | |
Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s
`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>
Diffstat (limited to 'scripts-dev')
0 files changed, 0 insertions, 0 deletions
