Skip to content

0.13.0

Choose a tag to compare

@lipanski lipanski released this 17 Sep 19:21
· 302 commits to master since this release
  • Introduced the Matcher::AnyOf variant, which takes a vector of matchers as argument.
  • The Mock::with_body and Mock::with_body_from_file functions now support binary content.
  • Multi-valued headers (e.g. the Via header) 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 Implemented to 501 Mock Not Found.
  • Changed the response reason phrase for unparseable requests from 422 Unprocessable Entity to 422 Mock Error.

Thanks to @kornelski