uploaded files to Azure are corrupted when using dio
问题 I'm trying to upload a file from my phone to azure blob storage as a BlockBlob with a SAS. I can get the file to upload, but it can't be opened once downloaded. The file gets corrupted somehow. I thought this was a content-type problem, but I have tried several different approaches to changing to content-type. Nothing has worked so far. My code: FileInfo _fileInfo = await filePicker(); // get the file path and file name // my getUploadInfo fires a call to my backend to get a SAS. // I know