How do you change the MIME on Amazon S3?

北城以北 提交于 2019-12-29 07:44:17

问题


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?


回答1:


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

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

  • 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



回答2:


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).



来源:https://stackoverflow.com/questions/19100858/how-do-you-change-the-mime-on-amazon-s3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!