Searched hist:1916 (Results 1 – 2 of 2) sorted by relevance
/unit/src/python/ |
H A D | nxt_python_asgi_http.c | diff 1916:2d7e54265010 Tue Jul 20 07:37:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Python: fixing ASGI receive() issues.
The receive() call never blocks for a GET request and always returns the same empty body message. The Starlette framework creates a separate task when receive() is called in a loop until an 'http.disconnect' message is received.
The 'http.disconnect' message was previously issued after the response header had been sent. However, the correct behavior is to respond with 'http.disconnect' after sending the response is complete.
This closes #564 issue on GitHub.
|
/unit/docs/ |
H A D | changes.xml | diff 1916:2d7e54265010 Tue Jul 20 07:37:00 UTC 2021 Max Romanov <max.romanov@nginx.com> Python: fixing ASGI receive() issues.
The receive() call never blocks for a GET request and always returns the same empty body message. The Starlette framework creates a separate task when receive() is called in a loop until an 'http.disconnect' message is received.
The 'http.disconnect' message was previously issued after the response header had been sent. However, the correct behavior is to respond with 'http.disconnect' after sending the response is complete.
This closes #564 issue on GitHub.
|