support query param matcher
DeoLeung opened this issue · 1 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 :)