Releases
v0.24.0
Added
Added match_json
parameter which allows matching on JSON decoded body (matching against python representation instead of bytes).
Changed
Even if it was never documented as a feature, the match_headers
parameter was not considering header names case when matching.
As this might have been considered a feature by some users, the fact that match_headers
will now respect casing is documented as a breaking change.
Fixed
Matching on headers does not ignore name case anymore, the name must now be cased as sent (as some servers might expect a specific case).
Error message in case a request does not match will now include request headers with mismatching name case as well.
Error message in case a request does not match will now include request headers when not provided as lower-cased to match_headers
.
Add :Any
type hint to **matchers
function arguments to satisfy strict type checking mode in pyright
.
You can’t perform that action at this time.