mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 23:45:30 +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,
|
||||
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
|
||||
if post_params or files:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user