0.25.0 (11th Sep, 2023)
Removed
- Drop support for Python 3.7. (#2813)
Added
- Support HTTPS proxies. (#2845)
- Change the type of
Extensions
fromMapping[Str, Any]
toMutableMapping[Str, Any]
. (#2803) - Add
socket_options
argument tohttpx.HTTPTransport
andhttpx.AsyncHTTPTransport
classes. (#2716) - The
Response.raise_for_status()
method now returns the response instance. For example:data = httpx.get('...').raise_for_status().json()
. (#2776)
Fixed
- Return
500
error response instead of exceptions whenraise_app_exceptions=False
is set onASGITransport
. (#2669) - Ensure all
WSGITransport
environs have aSERVER_PROTOCOL
. (#2708) - Always encode forward slashes as
%2F
in query parameters (#2723) - Use Mozilla documentation instead of
httpstatuses.com
for HTTP error reference (#2768)