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 "/snap/google-cloud-sdk/current/lib/third_party/httplib2/python3/httplib2/init.py", line 1776, in request
uri = uri.replace(" ", "%20").replace("\r", "%0D").replace("\n", "%0A")
TypeError: a bytes-like object is required, not 'str'
Particularly, "google-cloud-sdk" using your lib, passes bytes in some occurrences.
This could be simply be fixed like this (nearby the line 1533):
if isinstance(uri, bytes):
uri = uri.decode("utf-8")
just before uri = uri.replace.....
The text was updated successfully, but these errors were encountered:
File "/snap/google-cloud-sdk/current/lib/third_party/httplib2/python3/httplib2/init.py", line 1776, in request
uri = uri.replace(" ", "%20").replace("\r", "%0D").replace("\n", "%0A")
TypeError: a bytes-like object is required, not 'str'
Particularly, "google-cloud-sdk" using your lib, passes bytes in some occurrences.
This could be simply be fixed like this (nearby the line 1533):
just before uri = uri.replace.....
The text was updated successfully, but these errors were encountered: