“Safest, Fastest, Easiest, and Most advanced” Python HTTP Client. Production Ready! Drop-in replacement for Requests. HTTP/1.1, HTTP/2, and HTTP/3 supported. With WebSocket!
Support for asynchronous bodies through AsyncIterable that yield either bytes or str.
Support for purposely excluding a domain/port from connecting to QUIC/HTTP3 via the quic_cache_layer property of Session.
In order to exclude cloudflare.com from HTTP3 auto-upgrade:
from niquests import Session
s = Session()
s.quic_cache_layer.exclude_domain("cloudflare.com")
Fixed
auth argument not accepting a function according to static type checkers. (#133)
RequestsCookieJar having a lock in AsyncSession. Its effect has been nullified to improve performances.
Changed
urllib3-future lower bound version is raised to 2.8.902
3.7.1 (2024-07-07)
Added
AsyncIterable
that yield either bytes or str.Support for purposely excluding a domain/port from connecting to QUIC/HTTP3 via the
quic_cache_layer
property ofSession
. In order to excludecloudflare.com
from HTTP3 auto-upgrade:Fixed
AsyncSession
. Its effect has been nullified to improve performances.Changed