Niquests

Latest version: v3.6.6

Safety actively analyzes 633398 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 32

3.6.6

------------------

**Fixed**
- ReasonFlag not properly translated to readable text when peer or intermediate certificate is revoked.

3.6.5

------------------

**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 https://github.com/httpie/cli/issues/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)

3.6.4

------------------

**Changed**
- Avoid parsing X509 peer certificate in the certificate revocation check process over and over again.
- Avoid iterating over header items redundantly or needlessly.

3.6.3

------------------

**Fixed**
- Fixed encoding data with None values and other objects. This was a regression introduced in our v3. 119

**Changed**
- Various minor performance improvements.

3.6.2

------------------

**Fixed**
- "Help" program `python -m niquests.help` that depended on h2 while not required anymore.
- Minor performance regression in async while checking OCSP when certificate isn't eligible (e.g. no OCSP url provided).

**Changed**
- urllib3.future lower bound constraint has been raised to version 2.7.905 to ensure inclusion of jh2 instead of h2.

3.6.1

------------------

**Fixed**
- Handling broken environments with a graceful exception with a detailed error message.

Page 1 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.