mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-22 00:05:57 -05:00
14 lines
612 B
Markdown
14 lines
612 B
Markdown
# 0.22.0
|
|
|
|
## Improvements
|
|
|
|
### Happy Eyeballs v2 finalized
|
|
|
|
Until now, httpx was issuing concurrent DNS requests, but it'd only start connecting to the first, and then on the following by the right order, but sequentially.
|
|
|
|
`httpx` will now establish connections concurrently to both IPv6 and IPv4 addresses of a given domain; the first one to succeed terminates the other. Successful connection means completion of both TCP and TLS (when applicable) handshakes.
|
|
|
|
### HTTPX::Response::Body#encoding
|
|
|
|
A new method, `#encoding`, can be called on response bodies. It'll return the encoding of the response payload.
|