mirror of
https://github.com/django/daphne.git
synced 2025-04-21 09:12:03 +03:00
Add closed message to request bodies to allow fast failure
This commit is contained in:
parent
d72f99df94
commit
acd31a663d
|
@ -496,6 +496,11 @@ Keys:
|
|||
|
||||
* ``content``: Byte string of HTTP body content, will be concatenated onto
|
||||
previously received ``content`` values and ``body`` key in Request.
|
||||
Not required if ``closed`` is True, required otherwise.
|
||||
|
||||
* ``closed``: True if the client closed the connection prematurely and the
|
||||
rest of the body. If you receive this, abandon processing of the HTTP request.
|
||||
Optional, defaults to ``False``.
|
||||
|
||||
* ``more_content``: Boolean value signifying if there is additional content
|
||||
to come (as part of a Request Body Chunk message). If ``False``, request will
|
||||
|
|
Loading…
Reference in New Issue
Block a user