Skip to content

feat: support matching form url encoded fields #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alvarowolfx
Copy link

For our use case we need to check for the body content that is form-url-encoded. This PR adds support for matching content inside the form and with similar semantics to the query param matchers, but checking against the body.

@alvarowolfx
Copy link
Author

Fixes #162 162

@alvarowolfx
Copy link
Author

Updated to remove surf crate usage. @LukeMathWalker can you check this ? We are planning to migrate from the httptest crate to use wiremock-rs as it seems more broadly used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant