]> git.ipfire.org Git - thirdparty/httpx.git/commit
Close WSGI iterable when WSGIByteStream is closed (#1830)
authorStanis Trendelenburg <stanis.trendelenburg@gmail.com>
Wed, 1 Sep 2021 15:21:01 +0000 (17:21 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Sep 2021 15:21:01 +0000 (16:21 +0100)
commit0d3fcc74a56b32663ad97888eaea1315e28f78f4
tree2430c75cc06d0744dfed5cb2a8e37e45131a641b
parentecbece178fae4919994ac20ae8318b46972b7493
Close WSGI iterable when WSGIByteStream is closed (#1830)

* Make test fail when WSGI iterable is not closed

* Close WSGI iterable when WSGIByteStream is closed
httpx/_transports/wsgi.py
tests/test_wsgi.py