How do you change the MIME on Amazon S3?

2019-02-18 22:02发布

I am trying to change a mp4 video file's MIME that is stored on Amazon S3.

I tried searching under the properties listing when you right click and then the meta-data drop down. But there is no option for that there.

How do you I do that?

2条回答
你好瞎i
2楼-- · 2019-02-18 22:36

The issue does seem be to change the MIME in S3.

To be more specific, you need to log into Amazon S3 Console

enter image description here

  • Right on the file you need to change (or select them)
  • click on properties
  • click on metadata
  • HIGHLIGHT the text in "value" category (because "video/mp4" will not be in the drop down)
  • manually type in "video/mp4"
  • hit save
查看更多
萌系小妹纸
3楼-- · 2019-02-18 22:54

To change the content type, find the object in the AWS Console, go to the Properties tab and under Metadata add a Content-Type key with the required MIME type as the value for that key (e.g. video/mp4).

查看更多
登录 后发表回答