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
Juliehzl opened this issue
Dec 25, 2020
· 2 comments
· Fixed by #16987
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.ClientThis issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)
Hi, I'm new to this. I searched online for this issue and I found out that the bytearray() function needs a second argument specifying the type of encoding required when the source is a string. I hope this solves this issue.
xiangyan99
added
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
Storage
Storage Service (Queues, Blobs, Files)
labels
Feb 25, 2021
ghost
removed
the
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
label
Feb 25, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.ClientThis issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)
As shown in model serialization for ContentSettings, the required type for content_md5 is
str
as shown below:azure-sdk-for-python/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py
Line 621 in 00c9044
But when uploading, content_md5 needs to be converted to
bytearray
and the following code would cause a bug when converting a string to bytearray.azure-sdk-for-python/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py
Line 382 in 00c9044
This would cause error when uploading with content_md5. Please fix asap.
The text was updated successfully, but these errors were encountered: