http_cassette_http 0.1.0
http_cassette_http: ^0.1.0 copied to clipboard
HTTP Cassette integration for recording and replaying requests made with http.
Changelog #
0.1.0 #
- Added
CassetteHttpClientfor connecting anhttpclient to an HTTP Cassette engine. - Added recording and network-free replay of bounded request and response bodies through the core interception contract.
- Added canonical translation of
httprequests, completed responses, redirects, and portable transport failures. - Added request-abort handling that prevents caller cancellation from becoming a recorded transport outcome.
- Requires
http1.5.0 or later for the request-abort contract. - Added structured cassette and replayed transport-failure inspection through
ClientExceptionextensions. - Added inactive and explicitly disabled pass-through behaviour without changing the inner-client request.
- Added pass-through for new requests while recording close waits for already admitted requests to settle.
- Returned complete live responses when later cassette processing fails, while leaving recording close to report and discard the failed session.
- Added cassette portability with the official
dioadapter for equivalent requests, responses, and transport failures.