]> git.ipfire.org Git - thirdparty/httpx.git/commit
Drop `Origin` from public API (#688)
authorAndrés Álvarez <BigChief45@users.noreply.github.com>
Tue, 7 Jan 2020 10:39:47 +0000 (04:39 -0600)
committerTom Christie <tom@tomchristie.com>
Tue, 7 Jan 2020 10:39:47 +0000 (10:39 +0000)
commit2b92a78c41544da0891d2c42c7e2a28174783c57
tree9210ec07d3980a383f2edb7c2d98064993a28e2a
parentf17ab37b2f19e075b35546fe00766e7985462aae
Drop `Origin` from public API (#688)

- Drop the url.origin property.
  - Drop Origin from the top-level export.
  - Use origin = Origin(url) in our internal usage, rather than
    url.origin.

Closes #656

Co-authored-by: Tom Christie <tom@tomchristie.com>
httpx/__init__.py
httpx/client.py
httpx/dispatch/connection_pool.py
httpx/dispatch/proxy_http.py
httpx/models.py
tests/models/test_url.py