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
My code worked perfectly so far, but when requests ungraded to 2.9.0, I get this exception:
File "/usr/local/lib/python3.5/site-packages/azure/storage/blob/blobservice.py", line 1228, in put_block_blob_from_bytes
x_ms_lease_id)
File "/usr/local/lib/python3.5/site-packages/azure/storage/blob/blobservice.py", line 883, in put_blob
self._perform_request(request)
File "/usr/local/lib/python3.5/site-packages/azure/storage/storageclient.py", line 171, in _perform_request
resp = self._filter(request)
File "/usr/local/lib/python3.5/site-packages/azure/storage/storageclient.py", line 160, in _perform_request_worker
return self._httpclient.perform_request(request)
File "/usr/local/lib/python3.5/site-packages/azure/storage/_http/httpclient.py", line 181, in perform_request
self.send_request_body(connection, request.body)
File "/usr/local/lib/python3.5/site-packages/azure/storage/_http/httpclient.py", line 143, in send_request_body
connection.send(request_body)
File "/usr/local/lib/python3.5/site-packages/azure/storage/_http/requestsclient.py", line 81, in send
self.response = self.session.request(self.method, self.uri, data=request_body, headers=self.headers, timeout=self.timeout)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 454, in request
prep = self.prepare_request(req)
File "/usr/local/lib/python3.5/site-packages/requests/sessions.py", line 388, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/usr/local/lib/python3.5/site-packages/requests/models.py", line 296, in prepare
self.prepare_body(data, files, json)
File "/usr/local/lib/python3.5/site-packages/requests/models.py", line 447, in prepare_body
body = self._encode_params(data)
File "/usr/local/lib/python3.5/site-packages/requests/models.py", line 84, in _encode_params
return to_native_string(data)
File "/usr/local/lib/python3.5/site-packages/requests/utils.py", line 700, in to_native_string
out = string.decode(encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
My code worked perfectly so far, but when requests ungraded to 2.9.0, I get this exception:
The text was updated successfully, but these errors were encountered: