Docs + unit tests for Response, closes #821

This commit is contained in:
Simon Willison 2020-06-08 20:32:10 -07:00
commit db660db463
4 changed files with 86 additions and 1 deletions

View file

@ -882,7 +882,7 @@ The optional view function arguments are as follows:
``receive`` - function
The ASGI receive function.
The function can either return a ``Response`` or it can return nothing and instead respond directly to the request using the ASGI ``receive`` function (for advanced uses only).
The function can either return a :ref:`internals_response` or it can return nothing and instead respond directly to the request using the ASGI ``send`` function (for advanced uses only).
.. _plugin_register_facet_classes: