impit-python@0.11.0
Bug Fixes
-
Proxy authenticates with empty password (#327)
-
Authenticate with HTTPS proxy and HTTP target (#333)
- Propagates upstream fixes from
reqwest.
- Propagates upstream fixes from
-
Do not panic on missing attributes for encoding-related
metaelements (#346)- Ignores encoding-related
metaelements with missingcontentorcharsetattributes. Related to #344
- Ignores encoding-related
-
Use the
rustlsVerifier/CryptoProvidercache with custom fingerprints (#371)- Speeds up repeated client instantiation and lowers the memory footprint if the custom fingerprints are used. Related to #370
-
Allow removing impersonated headers by passing empty string (#382)
- Users can now remove impersonated headers (like
Sec-Fetch-User) from requests by passing an empty string as the header value. When an empty string is provided, the header is filtered out before the request is sent. This enables users, e.g., to manually control whichSec-Fetch-*headers should be included in their requests, addressing use cases where the default impersonated headers don't match the actual request context.
- Users can now remove impersonated headers (like
Features
-
Enable
TRACEmethod in the bindings (#328)- Unifies all clients by enabling the
tracemethod in all of them. Required for type parity (HttpMethod) in downstream repositories - Crawlee et al.
- Unifies all clients by enabling the
-
Use rustls-platform-verifier for system CA support (#357)
- Replaces the static
webpki-rootsdependency withrustls-platform-verifierto enableimpitto rely on the operating system's trust store. ---------
- Replaces the static
-
Custom fingerprint support (#366)
- Extracts all fingerprinting logic (from e.g. the
rustlspatch) toimpit. Prepares the codebase for new, non-hardcoded browser fingerprints. Related to #99
- Extracts all fingerprinting logic (from e.g. the
-
Add more Chrome and Firefox fingerprints (#367)
- Adds more browser fingerprints and passes these to the Node.JS and Python bindings.