Node.js: ServerRequest and ServerResponse compliance to Stream API.

ServerRequest now inherit stream Readable object.  ServerResponse
provides 'writable' property.

Thanks to Wu Jian Ping (@wujjpp).

This closes #274, closes #317 issues and closes #502 PR on GitHub.
This commit is contained in:
Max Romanov
2020-12-29 19:00:54 +03:00
parent 3abca42caf
commit d3d6864bdc
5 changed files with 94 additions and 89 deletions

View File

@@ -37,6 +37,13 @@ ability to specify multiple directories in the "path" option of Python apps.
</para>
</change>
<change type="feature">
<para>
ServerRequest and ServerResponse objects of Node.js module are now compliant
to Stream API.
</para>
</change>
<change type="bugfix">
<para>
invalid HTTP responses were generated for some unusual status codes.