Document ASGI apps and deprecate Tornado apps
Author: jodalCreated Sep 27, 2026Updated Sep 27, 2026
LabelsA-ext-httpready-for-agent
:robot: Summary
Extension authors can learn how to write an ASGI app from the docs, and see that http:app is deprecated. See "Docs" and "Deprecation" in the parent spec.
Parent
mopidy/mopidy#2312
Acceptance criteria
- The HTTP server reference describes
http:asgifirst. - The docs have an example ASGI app with an HTTP endpoint, a WebSocket and the Mopidy middleware.
- The docs describe lifespan events.
- The docs tell authors to call core from sync endpoints, or with
.get()in a thread, until Pykka's async release. - A migration guide shows how to move a Tornado app to an ASGI app.
- The docs mark
http:appas deprecated and link to the migration guide. There is no runtime warning. - The WSGI example is removed.
-
uvx rumdl check docs/passes.
Blocked by
- mopidy/mopidy#2315
- mopidy/mopidy#2316
- mopidy/mopidy#2317
Source: mopidy/mopidy