]> git.ipfire.org Git - thirdparty/httpx.git/commit
Add support for unix domain sockets (#511)
authorJonas Lundberg <jonas@5monkeys.se>
Tue, 19 Nov 2019 22:02:08 +0000 (23:02 +0100)
committerFlorimond Manca <florimond.manca@gmail.com>
Tue, 19 Nov 2019 22:02:08 +0000 (23:02 +0100)
commit7a96a2c896a6561b4571aa2fd79a1b0ba0d296a0
tree70d2048866a529f35cceaad3783616025827629f
parenta5f99830376ead8d7a1357169f49d9c76f085622
Add support for unix domain sockets (#511)

* Add and implement open_uds_stream in concurrency backends

* Add uds arg to BaseClient and select tcp or uds in HttpConnection

* Make open stream methods in backends more explicit

* Close sentence

Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
* Refactor uds concurrency test

* Remove redundant uds test assertions
httpx/client.py
httpx/concurrency/asyncio.py
httpx/concurrency/base.py
httpx/concurrency/trio.py
httpx/dispatch/connection.py
httpx/dispatch/connection_pool.py
tests/client/test_async_client.py
tests/client/test_client.py
tests/conftest.py
tests/test_concurrency.py