Note: The 0.23.1 release should have used a proper version bump, rather than a minor point release.
There are API surface area changes that may affect some users.
See the "Removed" section of these release notes for details.
Use utf-8 as the default character set, instead of falling back to charset-normalizer for auto-detection. To enable automatic character set detection, see the documentation. (#2165)
Fixed
Fix URL.copy_with for some oddly formed URL cases. (#2185)
Digest authentication should use case-insensitive comparison for determining which algorithm is being used. (#2204)
Fix console markup escaping in command line client. (#1866)
When files are used in multipart upload, ensure we always seek to the start of the file. (#2065)
Ensure that iter_bytes never yields zero-length chunks. (#2068)
Preserve Authorization header for redirects that are to the same origin, but are an http-to-https upgrade. (#2074)
When responses have binary output, don't print the output to the console in the command line client. Use output like <16086 bytes of binary data> instead. (#2076)
Fix display of --proxies argument in the command line client help. (#2125)
Close responses when task cancellations occur during stream reading. (#2156)
Fix type error on accessing .request on HTTPError exceptions. (#2158)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on httpx to permit the latest version.
Release notes
Sourced from httpx's releases.
Changelog
Sourced from httpx's changelog.
... (truncated)
Commits
f11eff4
Version 0.23.1 (#2442)a2a69e4
Mention default timeout differences from Requests in compatibility docs (#2433)8752e26
Drop .read/.aread from SyncByteStream/AsyncByteStream (#2407)9f9deea
Run tests against Python 3.11 stable (#2420)1aea953
Drop cgi module from test_multipart (#2424)db00b92
Bump uvicorn from 0.18.3 to 0.19.0 (#2429)9175097
Bump black from 22.8.0 to 22.10.0 (#2428)3b1578f
Bump mypy from 0.971 to 0.982 (#2427)1b2e3b7
Bump autoflake from 1.4 to 1.7.7 (#2430)3f0675c
Bump coverage from 6.4.4 to 6.5.0 (#2431)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)