]> git.ipfire.org Git - thirdparty/httpx.git/commit
Make start_tls a method on streams & return a new stream (#484)
authorJamie Hewland <jhewland@gmail.com>
Sun, 20 Oct 2019 10:59:16 +0000 (12:59 +0200)
committerFlorimond Manca <florimond.manca@gmail.com>
Sun, 20 Oct 2019 10:59:16 +0000 (12:59 +0200)
commit644e8fc5b6c5678fc1c1916293c1afab56d60bad
tree3556e3d042a998961c1dbb0bdd90be149ea9bdf8
parentad38db82f970176770bb6959c74fbf31b65fa773
Make start_tls a method on streams & return a new stream (#484)

* Move start_tls to stream & return a new stream

* asyncio: Keep a reference to the inner stream when upgrading to TLS
httpx/concurrency/asyncio.py
httpx/concurrency/base.py
httpx/concurrency/trio.py
httpx/dispatch/proxy_http.py
tests/dispatch/utils.py
tests/test_concurrency.py