Skip to content

Version 3.6.5

Compare
Choose a tag to compare
@Ousret Ousret released this 22 May 05:50
· 155 commits to main since this release
2b0f99d

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 as localhost 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 in AsyncSession that is no longer relevant since the native asyncio implementation. (PR #122)