fix: problem with urlencoded library

pull/103/head
vivid 2 years ago committed by GitHub
parent 5a4858f5f0
commit 40bc8bdb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -252,7 +252,7 @@ def main(override_args: Optional[Sequence[str]] = None):
did_find_anything = False
for key, value in body_val_bytes.items():
did_find_anything = True
body_val[key.decode("utf-8")] = value.decode("utf-8")
body_val[key] = value
if did_find_anything:
content_type = "application/x-www-form-urlencoded"
else:

Loading…
Cancel
Save