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:
committed by
Jair Henrique
parent
b1bc5c3a02
commit
7add8c0bab
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user