Context managed transports (#1218)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Context managed transports * Update httpx/_client.py Co-authored-by: Florimond Manca <florimond.manca@gmail.com> * Update httpx/_client.py Co-authored-by: Florimond Manca <florimond.manca@gmail.com> * Update tests/client/test_client.py Co-authored-by: Florimond Manca <florimond.manca@gmail.com> * Update tests/client/test_async_client.py Co-authored-by: Florimond Manca <florimond.manca@gmail.com> * Code comment around close/__enter__/__exit__ interaction
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
Diff stats
3 files+95 added−2 removed
- tests:+79 added−0 removed
- other:+16 added−2 removed