http_cassette_http 0.1.0 copy "http_cassette_http: ^0.1.0" to clipboard
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 CassetteHttpClient for connecting an http client 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 http requests, completed responses, redirects, and portable transport failures.
  • Added request-abort handling that prevents caller cancellation from becoming a recorded transport outcome.
  • Requires http 1.5.0 or later for the request-abort contract.
  • Added structured cassette and replayed transport-failure inspection through ClientException extensions.
  • 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 dio adapter for equivalent requests, responses, and transport failures.
0
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publisherebenezerundie.com

Weekly Downloads

HTTP Cassette integration for recording and replaying requests made with http.

Repository (GitHub)
View/report issues

Topics

#http #testing

License

BSD-3-Clause (license)

Dependencies

http, http_cassette

More

Packages that depend on http_cassette_http