Bump httpx from 0.24.1 to 0.25.1
Bumps httpx from 0.24.1 to 0.25.1.
Release notes
Sourced from httpx's releases.
Version 0.25.1
0.25.1 (3rd November, 2023)
Fixed
- Raise
ValueError
onResponse.encoding
being set afterResponse.text
has been accessed. (#2852)Version 0.25.0
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)
Changelog
Sourced from httpx's changelog.
0.25.1 (3rd November, 2023)
Added
Fixed
- Raise
ValueError
onResponse.encoding
being set afterResponse.text
has been accessed. (#2852)0.25.0 (11th September, 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)
Commits
-
b07d4e8
Version 0.25.1 (#2923) -
280a89a
Support newer versions of httpcore (#2885) -
1b7f39e
Use ruff format (#2901) -
05937f4
Bump trio-typing from 0.8.0 to 0.9.0 (#2914) -
aea4870
Bump mkdocs-material from 9.4.2 to 9.4.7 (#2915) -
2cb3252
Bump pytest from 7.4.2 to 7.4.3 (#2917) -
1d73150
Cleanup response.json() method (#2911) -
5f2d620
Fix third party package documentation link (#2902) -
ad06741
Lazily import 'netrc' module (#2910) -
9751f76
Drop unneccessarybinascii
import (#2909) - Additional commits viewable in compare view