Skip to content

Instantly share code, notes, and snippets.

@alexliesenfeld
Last active December 16, 2021 08:34
Show Gist options
  • Save alexliesenfeld/9f8489c49e3ba26cf31ef816f1655583 to your computer and use it in GitHub Desktop.
Save alexliesenfeld/9f8489c49e3ba26cf31ef816f1655583 to your computer and use it in GitHub Desktop.
[BLOG] output.txt | Mocking HTTP Services in Rust with httpmock
At least one request has been received, but none exactly matched the mock specification.
Here is a comparison with the most similar request (request number 1):
1 : Expected header with name 'Content-Type' and value 'application/json' to be present in the request but it wasn't.
------------------------------------------------------------------------------------------
Expected: [key=equals, value=equals] Content-Type=application/json
Actual (closest match): content-type=text/plain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment