1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00

Don't assume params to be a dictionary

aiohttp also fails with pass parameter values with types other than
string, integer or float.
This commit is contained in:
Andre Ambrosio Boechat
2022-05-03 13:18:22 -03:00
committed by Jair Henrique
parent b1bc5c3a02
commit 7add8c0bab
2 changed files with 2 additions and 4 deletions

View File

@@ -244,8 +244,6 @@ def vcr_request(cassette, real_request):
request_url = URL(url)
if params:
for k, v in params.items():
params[k] = str(v)
request_url = URL(url).with_query(params)
c_header = headers.pop(hdrs.COOKIE, None)