mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 07:55:31 +00:00
CP-2395 Undo removal of url encoding logic
This commit is contained in:
parent
d1d32568a0
commit
a4c6de9202
@ -178,6 +178,12 @@ class ApiClient:
|
|||||||
path_params,
|
path_params,
|
||||||
collection_formats
|
collection_formats
|
||||||
)
|
)
|
||||||
|
for k, v in path_params:
|
||||||
|
# specified safe chars, encode everything
|
||||||
|
resource_path = resource_path.replace(
|
||||||
|
'{%s}' % k,
|
||||||
|
quote(str(v), safe='')
|
||||||
|
)
|
||||||
|
|
||||||
# post parameters
|
# post parameters
|
||||||
if post_params or files:
|
if post_params or files:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user