httpx v0.23.0 Release Notes
Release Date: 2022-05-23 // about 4 years ago-
๐ Changed
- โฌ๏ธ Drop support for Python 3.6. (#2097)
- ๐ Use
utf-8as the default character set, instead of falling back tocharset-normalizerfor auto-detection. To enable automatic character set detection, see the documentation. (#2165)
๐ Fixed
- ๐ Fix
URL.copy_withfor 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_bytesnever yields zero-length chunks. (#2068) - โฌ๏ธ Preserve
Authorizationheader for redirects that are to the same origin, but are anhttp-to-httpsupgrade. (#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
--proxiesargument in the command line client help. (#2125) - Close responses when task cancellations occur during stream reading. (#2156)
- ๐ Fix type error on accessing
.requestonHTTPErrorexceptions. (#2158)
Previous changes from v0.22.0
-
โ Added
- ๐ Support for the SOCKS5 proxy protocol via the
socksiopackage. (#2034) - ๐ Support for custom headers in multipart/form-data requests (#1936)
๐ Fixed
- Don't perform unreliable close/warning on
__del__with unclosed clients. (#2026) - ๐ Fix
Headers.update(...)to correctly handle repeated headers (#2038)
- ๐ Support for the SOCKS5 proxy protocol via the