Repository navigation
What's Changed
- Feature:
Session.setCookies()restores an exported cookie jar into a session. - Feature:
randomProfile()picks a realistic fingerprint: a browser family, one of its newest profiles, and an OS that family really ships on, instead of random pairs no real browser sends (#238). - Feature: per-request DNS resolve overrides.
fetchnow takesresolvedirectly, so pinning one request to an address no longer needs its own transport (#244). - Fix: session WebSockets now store cookies from the handshake response the way the emulated browser does. Chrome, Edge and Opera profiles keep cookies from 101, 401 and 407 responses; Firefox, Safari and OkHttp profiles keep them from any status (#257).
- Fix: redirects with a non-ASCII
Locationheader are followed, and the raw header is exposed as latin1, matching undici (#218). - Fix: cancelling or aborting a response body releases its connection right away, instead of holding it until the 300 s idle timeout (#237).
- Fix:
setCookieskeeps cookie expiry exact to the millisecond, andgetAllCookiesreportsSameSite=Nonecorrectly. - Update: wreq 0.16.5 and wreq-util 0.2.1, with proxy error causes and fixes to cookie storage and public-suffix handling.
Full Changelog: v3.2.0...v3.3.0