]> git.ipfire.org Git - thirdparty/httpx.git/commit
URL.port becomes Optional[int] (#1080)
authorTom Christie <tom@tomchristie.com>
Fri, 24 Jul 2020 10:42:13 +0000 (11:42 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Jul 2020 10:42:13 +0000 (11:42 +0100)
commitc089480260771ebbe89c15ae1da1c251c8ad4373
tree2adf7f546645f9d90a14d1d2735fcacfe07112a0
parent696c1eff0390197358d8cb6807ab5de3a7c17fc0
URL.port becomes Optional[int] (#1080)

* URL.port becomes Optional[int], not int

* Minor _transport_for_url refactor

* Add docstring
httpx/_client.py
httpx/_models.py
httpx/_utils.py
tests/client/test_proxies.py
tests/client/test_redirects.py
tests/models/test_requests.py
tests/models/test_url.py
tests/test_config.py