3.6.5 (2024-05-22)
Fixed
- Support
localhost
as a valid domain for cookies. The standard library does not allow this special
domain. Researches showed that a valid domain should have at least two dots (e.g. abc.com. and xyz.tld. but not com.).
Public suffixes cannot be used as a cookie domain for security reasons, but aslocalhost
isn't one we are explicitly
allowing it. Reported in httpie/cli#602
RequestsCookieJar
set a default policy that circumvent that limitation, if you specified a custom cookie policy then this
fix won't be applied.
Changed
- Lazy load the OCSP extension in order to improve the import performance.
Removed
- Class variable
disable_thread
inAsyncSession
that is no longer relevant since the native asyncio implementation. (PR #122)