]> git.ipfire.org Git - thirdparty/httpx.git/commit
Switch to `USE_CLIENT_DEFAULT` instead of `UNSET`. (#1634)
authorTom Christie <tom@tomchristie.com>
Tue, 11 May 2021 09:25:01 +0000 (10:25 +0100)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 09:25:01 +0000 (10:25 +0100)
commit69409bb8b9e85caf2dd63f9b76f0aa920feaf4f1
treeca9625b1dc210d63712500b274c10a7d2aac60d3
parent7025dd1952bdadac7057d514ebf319a412d9e7ca
Switch to `USE_CLIENT_DEFAULT` instead of `UNSET`. (#1634)

* Add failing test case for 'content=io.BytesIO(...)'

* Refactor peek_filelike_length to return an Optional[int]

* Peek filelength on file-like objects when rendering 'content=...'

* Switch to USE_CLIENT_DEFAULT

* Switch to USE_CLIENT_DEFAULT

* Linting
httpx/__init__.py
httpx/_client.py