support query param matcher
Opened this issue · 0 comments
DeoLeung commented
currently query parameters need to be written into the url
httpx_mock.add_response(
method='POST',
url='https://a.com/b?c=d&e=f',
...
)
it will be easier to write and parametrize if params
is supported
httpx_mock.add_response(
method='POST',
url='https://a.com/b',
match_params={'c': 'd', 'e': 'f'}
...
)
even support using list if repeated params are used :)