Repository navigation
0.13.0
- Introduced the
Matcher::AnyOfvariant, which takes a vector of matchers as argument. - The
Mock::with_bodyandMock::with_body_from_filefunctions now support binary content. - Multi-valued headers (e.g. the
Viaheader) are checked over all values. The previous implementation was looking only for the first found header value. - Changed the response reason phrase for non-matching requests from
501 Not Implementedto501 Mock Not Found. - Changed the response reason phrase for unparseable requests from
422 Unprocessable Entityto422 Mock Error.
Thanks to @kornelski