Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.22.0
->^0.27.0
Release Notes
encode/httpx (httpx)
v0.27.2
Compare Source
Fixed
URLTypes
shortcut. (#2673)v0.27.1
Compare Source
Added
zstd
content decoding using the pythonzstandard
package is added. Installable usinghttpx[zstd]
. (#3139)Fixed
InvalidURL
exceptions. (#3250)app
type signature inASGITransport
. (#3109)v0.27.0
Compare Source
Deprecated
app=...
shortcut has been deprecated. Use the explicit style oftransport=httpx.WSGITransport()
ortransport=httpx.ASGITransport()
instead.Fixed
http1
argument while configuring proxy transports. (#3023)v0.26.0
Compare Source
Added
proxy
argument was added. You should use theproxy
argument instead of the deprecatedproxies
, or usemounts=
for more complex configurations. (#2879)Deprecated
proxies
argument is now deprecated. It will still continue to work, but it will be removed in the future. (#2879)Fixed
NO_PROXY
envvar cases when a fully qualified URL is supplied as the value. (#2741)raw_path
does not include URL query component. (#2999)Response.iter_text()
cannot yield empty strings. (#2998)v0.25.2
Compare Source
Added
__init__()
methods. (#2938)v0.25.1
Compare Source
Added
Fixed
ValueError
onResponse.encoding
being set afterResponse.text
has been accessed. (#2852)v0.25.0
Compare Source
Removed
Added
Extensions
fromMapping[Str, Any]
toMutableMapping[Str, Any]
. (#2803)socket_options
argument tohttpx.HTTPTransport
andhttpx.AsyncHTTPTransport
classes. (#2716)Response.raise_for_status()
method now returns the response instance. For example:data = httpx.get('...').raise_for_status().json()
. (#2776)Fixed
500
error response instead of exceptions whenraise_app_exceptions=False
is set onASGITransport
. (#2669)WSGITransport
environs have aSERVER_PROTOCOL
. (#2708)%2F
in query parameters (#2723)httpstatuses.com
for HTTP error reference (#2768)v0.24.1
Compare Source
Added
InvalidURL
exceptions. (#2675)Fixed
NO_PROXY
environment variable. (#2659)NetRCAuth()
toNone
to use the stdlib default. (#2667)v0.24.0
Compare Source
Changed
TRACE
log level, and we no longer use theHTTPX_LOG_LEVEL
environment variable to auto-configure logging. We now have a significant amount ofDEBUG
logging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/ (#2547, encode/httpcore#648)Response.iter_lines()
method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. (#2423)requests
, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid. (#2543)httpx.NetRCAuth()
authentication class. See the documentation at https://www.python-httpx.org/advanced/authentication/#netrc-authentication (#2525)Removed
rfc3986
dependancy has been removed. (#2252)v0.23.3
Compare Source
Fixed
v0.23.2
Compare Source
Added
Fixed
Content-Length
. (#2382)TypeError
if content is passed a dict-instance. (#2495)RawURL
. We continue to expose aurl.raw
property which is now a plain named-tuple. This API is still expected to be deprecated, but we will do so with a major version bump. (#2481)v0.23.1
Compare Source
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.
Added
Content-Type
header. (#2278)tuple
orlist
for multipart values, not justlist
. (#2355)str
content for multipart upload files. (#2400)Fixed
Removed
.read
/.aread
fromSyncByteStream
/AsyncByteStream
. (#2407)RawURL
. (#2241)v0.23.0
Compare Source
Changed
utf-8
as the default character set, instead of falling back tocharset-normalizer
for auto-detection. To enable automatic character set detection, see the documentation. (#2165)Fixed
URL.copy_with
for some oddly formed URL cases. (#2185)iter_bytes
never yields zero-length chunks. (#2068)Authorization
header for redirects that are to the same origin, but are anhttp
-to-https
upgrade. (#2074)<16086 bytes of binary data>
instead. (#2076)--proxies
argument in the command line client help. (#2125).request
onHTTPError
exceptions. (#2158)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.