Content-Type(MIME)用于标识发送或接收数据的类型,浏览器根据该参数来决定数据的打开方式。Content-Type多用于指定一些客户端自定义的文件,以及一些媒体文件的打开方式。
1、".doc"="application/msword" 2、".pdf"="application/pdf" 3、".xls"="application/x-xls" 4、".xml"="text/xml" 所有的: ".*"="application/octet-stream" ".001"="application/x-001" ".301"="application/x-301" ".323"="text/h323" ".906"="application/x-906" ".907"="drawing/...
'asc' 'text/plain', 'atom' 'application/atom+xml', 'au' 'audio/basic', 'avi' 'video/x-msvideo', 'bcpio' 'application/x-bcpio', 'bin' 'application/octet-stream', 'bmp' 'image/bmp', 'cdf' 'application/x-netcdf', 'cgm' 'image/cgm', 'class' 'application/octet-stream', 'cp...
Content-Type(MIME)用于标识发送或接收数据的类型,浏览器根据该参数来决定数据的打开方式。Content-Type多用于指定一些客户端自定义的文件,以及一些媒体文件的打开方式。
在HTTP中,MIME Type类型被定义在Content-Type header中。每个MIME类型由3部分组成:Content-Type: [type]/[subtype]。前者是数据大类别,后者定义具体的种类。 type有下面的形式: Text:用于标准化地表示的文本信息,文本消息可以是多种字符集和或者多种格式的; ...
Multipurpose Internet Mail Extensions (MIME) type is a standard way of describing a data type. The MIME type is passed in the Content-Type header.If you do not specify Co
Content-Type是实体头域(或称为实体头部,entity header)用于向接收方指示实体(entity body)的介质类型的,或称为资源的MIME类型,现在通常称media type更为合适。(例如,指定HEAD方法送到接收方的实体介质类型,或GET方法发送的请求介质类型,表示后面的文档属于什么MIME类型。) ...
常见⽂件后缀名和Content-type/mimetype对应关系 ⽂件后缀名 对于mime type 'apk' 'application/vnd.android.package-archive','3gp' 'video/3gpp','ai' 'application/postscript','aif' 'audio/x-aiff','aifc' 'audio/x-aiff','aiff' 'audio/x-aiff','asc' 'text/plain'...
常见MimeType参考表 Application Type 文件扩展名Content-Type(Mime-Type)描述 .application/x- .*application/octet-stream二进制流,不知道下载文件类型 .pdfapplication/pdfPDF(Portable Document Format的简称,意为“便携式文件格式”) .aiapplication/postscriptPostScript(PS)是主要用于电子产业和桌面出版领域的一种...