Closed pjknkda closed 5 years ago
I did test this MR with Azurite
but found that this approach breaks other parts of the code in a real Azure Storage Account, so close this MR for further investigation. Also, I found that create_blob_from_stream
with an empty stream only fails in Azurite
emulator environment, not in a real Azure Storage Account.
Fixed
BlockBlobService.created_blob_from_stream
failure when the input stream is empty by making_BlobChunkUploader.get_chunk_streams
to yield empty bytes if the stream ends without any chunks.