impit-node@0.14.2
Bug Fixes
-
Raise on mid-stream body errors instead of silent EOF (#482)
- Mid-stream body errors (connection reset, truncated chunked transfer) were mapped to
StopIteration/StopAsyncIteration, which signal normal end-of-iteration — sofor/async forended silently and callers processed partial bodies as complete (a silent data-integrity bug, #475). Both sync and async iterators now propagate the classifiedImpitErroras a real exception and set the consumed/closed flags consistently with the clean-EOF branch. Streamed truncation surfaces in reqwest as aDecode-kinded error rather thanBody, so the existing unexpected-EOF classification missed it and fell through to the catch-allHTTPError. The guard is widened to coveris_decode(), so truncated streams now raiseRemoteProtocolError, matching httpx. Verified against a vanilla server that truncates the body mid-response; added sync + async regression tests.
- Mid-stream body errors (connection reset, truncated chunked transfer) were mapped to
-
Encode string chunks when serializing stream bodies (#487)
Features
- Add iOS 18 system TLS fingerprint (#465)
- Adds an iOS 18 system TLS fingerprint as
Browser::Ios18(string:"ios18").
- Adds an iOS 18 system TLS fingerprint as