Skip to content
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

Enhance request pattern matching #87

Closed
4 of 5 tasks
lundberg opened this issue Oct 5, 2020 · 0 comments
Closed
4 of 5 tasks

Enhance request pattern matching #87

lundberg opened this issue Oct 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@lundberg
Copy link
Owner

lundberg commented Oct 5, 2020

To match and mock a request with certain content, e.g. posted data, a request callback is currently needed.

It would be nice to have an alternative way in the api, like http method and url, to allow request content matching, as discussed and proposed in #83.

The HTTPX request API also supports cookies and files, which would be of interest to match on, as mentioned in #79.

@lundberg lundberg added the enhancement New feature or request label Oct 5, 2020
@lundberg lundberg changed the title Add support to match a request on content Enhance request pattern matching Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant