Open damienturnbull opened 9 months ago
would be nice if the behavior of ContentType would be equal over all storage implementations. Eg for local storage you will need to add it as Metadata, but for Azure storage its in the Properties dictionary.
And indeed you cannot set the ContentType header for Azure storage.
When uploading a jpg file as an Azure Blob using WriteAsync, the file is created in Azure with a Content-Type set to 'application/octet-stream'. There doesn't seem be any support for setting the Content-Type to 'application/image/jpeg'. Or is there?