]> git.ipfire.org Git - thirdparty/httpx.git/commit
Differentiate between `timeout=None` and `timeout=UNSET`. (#592)
authorTom Christie <tom@tomchristie.com>
Wed, 4 Dec 2019 11:54:39 +0000 (11:54 +0000)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2019 11:54:39 +0000 (11:54 +0000)
commiteb7c6b0342cc998a9a305c97f8d95b886a533f14
treeee8c662d99e57cf0acd7370065752e955b6d2a89
parentc033ed1b6513759de0c473962f1f597af4be04b3
Differentiate between `timeout=None` and `timeout=UNSET`. (#592)

* TimeoutConfig -> Timeout

* Timeout=None should mean what it says.

* Drop optional timeout on internal client methods
httpx/client.py
httpx/concurrency/base.py
httpx/dispatch/base.py
httpx/dispatch/connection.py
httpx/dispatch/connection_pool.py
httpx/dispatch/http11.py
httpx/dispatch/http2.py
httpx/dispatch/proxy_http.py
tests/client/test_proxies.py