Closed lovetoburnswhen closed 3 years ago
As seen in https://github.com/encode/starlette/issues/953 + https://github.com/encode/starlette/pull/954
The new on_get parameter allows you to serve arbitrary contents.
on_get
As seen in https://github.com/encode/starlette/issues/953 + https://github.com/encode/starlette/pull/954