s3_mine_type
近期的 project 使用 AWS CloudFront 為前端,來拉儲存在 S3 中的資料,以提供一個 web server 的方式
上傳 server.ini 後,使用 browser 瀏覽時會變成是下載檔案,查詢後,發現是 MIME 的原因
Reference
- Working with object metadata - Amazon Simple Storage Service
- System-defined metadata,default 的 content-type 為
binary/octet-stream
- System-defined metadata,default 的 content-type 為
- How can I change the MIME/Content-Type associated with my objects stored in Wasabi? – Wasabi Knowledge Base
- How to set correct MIME type on videos in Amazon S3