You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "c:\dist\work\smartcard-fullstack-test\tools\trace.py", line 37, in print_roundtrip
mycurl=curlify.to_curl(response.request, compressed=True),
File "C:\dist\venvs\smartcard-fullstack-test\lib\site-packages\curlify.py", line 28, in to_curl
body = body.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf5 in position 117: invalid start byte
requests>=2.27.1 manage to print(f"{response.requests.body}") all fine even if it holds long binary files.
The text was updated successfully, but these errors were encountered:
I use curlify in requests hook so I can get any requests as a curl command. works excellent except for when posts have binary data in body:
curlify==2.2.1
requests>=2.27.1 manage to
print(f"{response.requests.body}")
all fine even if it holds long binary files.The text was updated successfully, but these errors were encountered: