We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
path
I have bumped into users trying the following:
Mock::given(path("https://domain.com/abcd"));
with an expectation that it will match incoming requests for /abcd. In reality, they should write:
/abcd
Mock::given(path("/abcd"));
to achieve the desired outcome.
path should panic if the input contains a host, with an helpful suggestion pointing at the right usage pattern.
The text was updated successfully, but these errors were encountered:
?
No branches or pull requests
I have bumped into users trying the following:
with an expectation that it will match incoming requests for
/abcd
.In reality, they should write:
to achieve the desired outcome.
path
should panic if the input contains a host, with an helpful suggestion pointing at the right usage pattern.The text was updated successfully, but these errors were encountered: