httpx/tests
Tom Christie ec365c0e8e
Check disconnections on connection reacquiry (#145)
* Detect EOF signaling remote server closed connection

Raise ConnectionClosedByRemote and handle on `send`

* Fix linting

* Use existing NotConnected exception

* Add `Reader.is_connection_dropped` method

* Check connection before sending h11 events as well

* Add test covering connection lost before reading response content

* Check for connection closed on acquiring it from the pool

* Clean up ConnectionPool logic around reaquiry of connections
2019-07-25 22:52:41 +01:00
..
client Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
dispatch Check disconnections on connection reacquiry (#145) 2019-07-25 22:52:41 +01:00
models Allow string comparison for URL().__eq__ (#139) 2019-07-24 16:28:16 +01:00
conftest.py Support client cert passwords, new TLS options (#118) 2019-07-16 10:08:57 +01:00
test_api.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_asgi.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_config.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_decoders.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_multipart.py Check disconnections on connection reacquiry (#145) 2019-07-25 22:52:41 +01:00
test_status_codes.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_timeouts.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_utils.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00
test_wsgi.py Renaming -> httpx (#129) 2019-07-19 15:15:16 +01:00