mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-04 00:01:13 -05:00
1.3 KiB
1.3 KiB
0.24.4
Improvements
digest_authenticationplugin now supports passing HA1hashed with password HA1s (common to store in htdigest files for example) when setting the:hashedkwarg totruein the.digest_authcall.- ex:
http.digest_auth(user, get_hashed_passwd_from_htdigest(user), hashed: true)
- ex:
- TLS session resumption is now supported
- whenever possible,
httpxsessions will recycle used connections so that, in the case of TLS connections, the first session will keep being reusedd, thereby diminishing the overhead of subsequent TLS handshakes on the same host. - TLS sessions are only reused in the scope of the same
httpxsession, unless the:persistentplugin is used, in which case, the persistedhttpxsession will always try to resume TLS sessions.
- whenever possible,
Bugfixes
- When explicitly using IP addresses in the URL host, TLS handshake will now verify tif he IP address is included in the certificate.
- IP address will keep not be used for SNI, as per RFC 6066, section 3.
- ex:
http.get("https://10.12.0.12/get") - if you want the prior behavior, set
HTTPX.with(ssl: {verify_hostname: false})
- Turn TLS hostname verification on for
jruby(it's turned off by default).- if you want the prior behavior, set
HTTPX.with(ssl: {verify_hostname: false})
- if you want the prior behavior, set