我应该为mp3使用哪种MIME类型 [英] Which mime type should I use for mp3

查看:411
本文介绍了我应该为mp3使用哪种MIME类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图决定选择哪种mime类型来返回mp3数据(由php提供)

I'm trying to decide which mime type to choose for returning mp3 data (served up by php)

根据此mime类型列表: http://www.webmaster-toolkit. com/mime-types.shtml

according to this listing of mime types: http://www.webmaster-toolkit.com/mime-types.shtml

.mp3    audio/mpeg3
.mp3    audio/x-mpeg-3
.mp3    video/mpeg
.mp3    video/x-mpeg

这些之间有什么区别,我应该使用哪个?

What are the difference between these, and which should I use?

推荐答案

您最好的选择是使用定义的RFC MIME类型audio/mpeg.

Your best bet would be using the RFC defined mime-type audio/mpeg.

这篇关于我应该为mp3使用哪种MIME类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆