]> git.ipfire.org Git - thirdparty/httpx.git/commit
Finesse URL properties (#1285)
authorTom Christie <tom@tomchristie.com>
Mon, 21 Sep 2020 10:35:25 +0000 (11:35 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Sep 2020 10:35:25 +0000 (11:35 +0100)
commit8e4a8a1c73f60fe5754f95b308beaa725cb8791d
tree603ccc7acc1c161f2c884553f6bb48d024a01743
parentf3c29416f12bc580b18f94538abfbc41ac06cce5
Finesse URL properties (#1285)

* url.userinfo should be URL encoded bytes

* Neater copy_with implementation

* Finesse API around URL properties and copy_with

* Docstring for URL, and drop url.authority

* Support url.copy_with(raw_path=...)

* Docstrings on URL methods

* Tweak docstring
httpx/_auth.py
httpx/_models.py
setup.cfg
tests/models/test_requests.py
tests/models/test_url.py