mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Release 0.56
Refs #1005, #1031, #1141, #1229, #1236, #1239, #1246, #1247, #1252, #1266, #1276, #1278
This commit is contained in:
parent
d579fcf4f7
commit
af5a7f1c09
3 changed files with 19 additions and 2 deletions
|
|
@ -143,7 +143,6 @@ Each of the helper methods take optional ``status=`` and ``headers=`` arguments,
|
|||
Returning a response with .asgi_send(send)
|
||||
------------------------------------------
|
||||
|
||||
|
||||
In most cases you will return ``Response`` objects from your own view functions. You can also use a ``Response`` instance to respond at a lower level via ASGI, for example if you are writing code that uses the :ref:`plugin_asgi_wrapper` hook.
|
||||
|
||||
Create a ``Response`` object and then use ``await response.asgi_send(send)``, passing the ASGI ``send`` function. For example:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue