]> git.ipfire.org Git - thirdparty/httpx.git/commit
Don't include username/password components in `Host` header (#417)
authorCan Sarıgöl <cansarigol@derinbilgi.com.tr>
Fri, 4 Oct 2019 09:33:18 +0000 (12:33 +0300)
committerTom Christie <tom@tomchristie.com>
Fri, 4 Oct 2019 09:33:18 +0000 (10:33 +0100)
commitdd3fbcc8d744b1eeed8676ce29c31253caa6c4ac
treee55bb5fd8ce287afa8b0ec1b840fe0725a21ab6e
parente6da325e8be4a7194571adea67053446c75d9aa3
Don't include username/password components in `Host` header (#417)

* removed auth and port from host of header

* used URL attribute rather _uri_reference

* reverted removing port into host

* reverted username and password from header

* applied new copy_with with username and password
httpx/models.py
tests/client/test_headers.py