]> git.ipfire.org Git - thirdparty/httpx.git/commit
Base URL improvements (#1130)
authorTom Christie <tom@tomchristie.com>
Wed, 5 Aug 2020 17:56:25 +0000 (18:56 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2020 17:56:25 +0000 (18:56 +0100)
commita3392c6ea7e887b23c1a9250b58ff11c7ea652df
tree3915eaf8218d91444c7de175e7bf43df4eada38e
parent7279ed46589db3028342d3f1542b11e99c23a6a5
Base URL improvements (#1130)

* URL.join(url=...), not URL.join(relative_url=...)

* Fix URL.join()

* Support no argument 'httpx.URL()' usage

* Support client.base_url as a property

* Resolve base_url joining behaviour

* Fix coverage

* Update _client.py
httpx/_client.py
httpx/_models.py
tests/client/test_client.py
tests/client/test_properties.py