Skip to content
Snippets Groups Projects
Unverified Commit dffecade authored by Sean Quah's avatar Sean Quah Committed by GitHub
Browse files

Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s (#12698)


`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: default avatarSean Quah <seanq@element.io>
parent a4c75918
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment