Response.ContentType possible values
2010-01-11 02:53
211 查看
Known MIME Types
FindMimeFromData tests for the following MIME types:MIME Type | Description |
---|---|
text/plain | Plain text. Default if data is primarily text and no other type detected. |
text/html | HTML. Default if common tags detected and server does not supply image/* type. |
text/xml | XML data. Default if data specifies <?xmlwith an unrecognized DTD. |
text/richtext | Rich Text Format (RTF). |
text/scriptlet | Microsoft Windows script component. |
audio/x-aiff | Audio Interchange File, Macintosh. |
audio/basic | Audio file, UNIX. |
audio/mid | Internet Explorer 7 and later. MIDI sequence. |
audio/wav | Pulse Code Modulation (PCM) Wave audio, Windows. |
image/gif | Graphics Interchange Format (GIF). |
image/jpeg | JPEG image. |
image/pjpeg | Default type for JPEG images. |
image/png | Internet Explorer 7 and later. Portable Network Graphics (PNG). |
image/x-png | Internet Explorer 7 and later. Default type for PNG images. |
image/tiff | Tagged Image File Format (TIFF) image. |
image/bmp | Bitmap (BMP) image. |
image/x-xbitmap | Removed from Internet Explorer 8. |
image/x-jg | AOL Johnson-Grace compressed file. |
image/x-emf | Enhanced Metafile (EMF). |
image/x-wmf | Windows Metafile Format (WMF). |
video/avi | Audio-Video Interleaved (AVI) file. |
video/mpeg | MPEG stream file. |
application/octet-stream | Binary file. Default if data is primarily binary. |
application/postscript | PostScript (.ai, .eps, or .ps) file. |
application/base64 | Base64-encoded bytes. |
application/macbinhex40 | BinHex for Macintosh. |
application/pdf | Portable Document Format (PDF). |
application/xml | XML data. Must be server-supplied. See also "text/xml" type. |
application/atom+xml | Internet Explorer 7 and later. Atom Syndication Format feed. |
application/rss+xml | Internet Explorer 7 and later. Really Simple Syndication (RSS) feed. |
application/x-compressed | UNIX tar file, Gzipped. |
application/x-zip-compressed | Compressed archive file. |
application/x-gzip-compressed | Gzip compressed archive file. |
application/java | Java applet. |
application/x-msdownload | Executable (.exe or .dll) file. |
相关文章推荐
- response setContentType的参数
- Response.ContentType 详细列表
- Response.ContentType类型汇总
- Response.ContentType 详细列表-请求的内容类型详细记录
- response.setContentType
- response.setContentType()中MIME参数类型总结
- response.setContentType()的参数说明
- response.setContentType()的String参数及对应类型
- 码农小汪-JavaEE乱码 response.setCharacterEncoding 入URIEncoding="utf-8" response.setContentType
- response.setContentType 与 request.setCharacterEncoding 区别
- response.setContentType()的作用及MIME参数详解
- response.setContentType()的作用及参数
- response的setContentType()的类型参数
- response.setContentType()的String参数及对应类型
- 使用HttpServletResponse.setContentType();解决输出文件流乱码
- response的setCharacterEncoding和setContentType方法的区别
- response.setContentType()的作用及参数
- ios开发——response之Http报头Accept&Content-Type
- Response.ContentType都有哪些?
- JSP 解决illegal to have multiple occurrences of contentType with different values错误