-
-
Notifications
You must be signed in to change notification settings - Fork 772
Closed
Description
After #272 we can finally add this hook. It will allow plugins to wrap their own ASGI middleware around Datasette. Potential use-cases include:
- adding authentication
- custom CORS headers (see Plugin for allowing CORS from specified hosts #454)
- maybe gzip support?
- possibly defining entirely new routes, though that may be better handled by a separate hook