Losing content-type when persisting to Azure blob storage
I’ve got an Azure function which persists files sent in the request to blob storage. For some reason — even though the files have a content-type — they’re being persisted with the application/octet-stream content-type, rather than say, image/jpeg. var file = req.Form.Files["File"]; var blobClient = new BlobContainerClient(connection, containerName); var blob = blobClient.GetBlobClient(fileName); await blob.UploadAsync(file.OpenReadStream()); Any… Read More Losing content-type when persisting to Azure blob storage