summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorSean Quah <seanq@element.io>2022-04-28 15:50:37 +0100
committerSean Quah <seanq@element.io>2022-04-28 19:28:00 +0100
commit46cdb4bd0746df6aad0b2408beb35b38b5a94c18 (patch)
treed4786f5ff0555358b3ed5c665d074b94f887cc9c /scripts-dev
parentCapture the `Deferred` for request cancellation in `_AsyncResource` (diff)
downloadsynapse-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