Python: bytearray body support for ASGI module.

@filiphanes requested support for bytearray
and memoryview in the request body here:
<https://github.com/nginx/unit/issues/648>

This patch implements bytearray body support only.
Memoryview body still need to be implemented.
This commit is contained in:
Andrei Zeliankou
2024-01-26 14:58:43 +00:00
committed by andrey-zelenkov
parent f71ead5fa5
commit 697a585062
4 changed files with 53 additions and 12 deletions

View File

@@ -78,6 +78,12 @@ can be used as a unique request identifier.
</para>
</change>
<change type="feature">
<para>
bytearray in response body for ASGI applications.
</para>
</change>
<change type="feature">
<para>
ServerRequest.flushHeaders() implemented in Node.js module to make it compatible