phillipsj / Cake.AzureStorage

Cake Addin for working with Azure Storage
Apache License 2.0
6 stars 10 forks source link

Add flag/settings that allows content type of uploaded blobs to be set #12

Open Philo opened 7 years ago

Philo commented 7 years ago

Ideally it would be great if this addin was able to set the blob content type based on the file extension, this is critical if files are being uploaded to blob storage to be served as or via a CDN.

To provide info: http://www.thepatrickdavis.com/blob-storage-dont-forget-the-mime/

...although I think the sameple implementation is poor :)