`
浓郁咖啡
  • 浏览: 2328 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
最近访客 更多访客>>
社区版块
存档分类
最新评论

ContentType类型一览无余

    博客分类:
  • JAVA
阅读更多

Multipart Internet Mail Extensions (MIME)

关于Content-Type的一张表.(方便查找了哦)
http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html

 


Description of Data Content
Typical Filename Extensions

MIME type/subtype
       
Text and Text-Related Types      
HTML text data (RFC 1866) html htm   text/html
Plain text: documents; program listings txt c c++ pl cc h   text/plain
Richtext (obsolete - replaced by text/enriched)     text/richtext
Structure enhanced text (etx?)   text/x-setext
Enriched text markup (RFC 1896)     text/enriched
Tab-separated values (tabular) (tsv?)   text/tab-separated-values
SGML documents (RFC 1874)     text/sgml
Speech synthesis data (MVP Solutions) talk   text/x-speech
       
Document Stylesheet Types      
Cascading Stylesheets css   text/css
DSSSL-online stylesheets     application/dsssl (proposed)
       
Image Types      
GIF gif   image/gif
X-Windows bitmap (b/w) xbm   image/x-xbitmap
X-Windows pixelmap (8-bit color) xpm   image/x-xpixmap
Portable Network Graphics png   image/x-png
Image Exchange Format (RFC 1314) ief   image/ief
JPEG jpeg jpg jpe   image/jpeg
TIFF tiff tif   image/tiff
RGB rgb   image/rgb
      image/x-rgb
Group III Fax (RFC 1494) g3f   image/g3fax
X Windowdump format xwd   image/x-xwindowdump
Macintosh PICT format pict   image/x-pict
PPM (UNIX PPM package) ppm   image/x-portable-pixmap
PGM (UNIX PPM package) pgm   image/x-portable-graymap
PBM (UNIX PPM package) pbm   image/x-portable-bitmap
PNM (UNIX PPM package) pnm   image/x-portable-anymap
Microsoft Windows bitmap bmp   image/x-ms-bmp
CMU raster ras   image/x-cmu-raster
Kodak Photo-CD pcd   image/x-photo-cd
Computer Graphics Metafile cgm   image/cgm
North Am. Presentation Layer Protocol     image/naplps
CALS Type 1 or 2 mil cal   image/x-cals
Fractal Image Format (Iterated Systems) fif   image/fif
QuickSilver active image (Micrografx) dsf   image/x-mgx-dsf
CMX vector image (Corel) cmx   image/x-cmx
Wavelet-compressed (Summus) wi   image/wavelet
AutoCad Drawing (SoftSource) dwg   image/vnd.dwg
      image/x-dwg
AutoCad DXF file (SoftSource) dxf   image/vnd.dxf
      image/x-dxf
Simple Vector Format (SoftSource) svf   image/vnd.svf
      also vector/x-svf
       
Audio/Voice/Music Related Types      
"basic"audio - 8-bit u-law PCM au snd   audio/basic
Macintosh audio format (AIpple) aif aiff aifc   audio/x-aiff
Microsoft audio wav   audio/x-wav
MPEG audio mpa abs mpega   audio/x-mpeg
MPEG-2 audio mp2a mpa2   audio/x-mpeg-2
compressed speech (Echo Speech Corp.) es   audio/echospeech
Toolvox speech audio (Voxware) vox   audio/voxware
RapidTransit compressed audio (Fast Man) lcc   application/fastman
Realaudio (Progressive Networks) ra ram   application/x-pn-realaudio
NIFF music notation data format     application/vnd.music-niff
MIDI music data mmid   x-music/x-midi
Koan music data (SSeyo) skp   application/vnd.koan
      application/x-koan
Speech synthesis data (MVP Solutions) talk   text/x-speech
       
Video Types      
MPEG video mpeg mpg mpe   video/mpeg
MPEG-2 video mpv2 mp2v   video/mpeg-2
Macintosh Quicktime qt mov   video/quicktime
Microsoft video avi   video/x-msvideo
SGI Movie format movie   video/x-sgi-movie
VDOlive streaming video (VDOnet) vdo   video/vdo
Vivo streaming video (Vivo software) viv   video/vnd.vivo
      video/vivo
Special HTTP/Web Application Types      
Proxy autoconfiguration (Netscape browsers) pac   application/x-ns-proxy-autoconfig
See Chapter 6     application/x-www-form-urlencoded
See Chapter 9     application/x-www-local-exec
See Chapter 9 (Netscape extension)     multipart/x-mixed-replace
See Chapter 9 and Appendix B     multipart/form-data
Netscape Cooltalk chat data (Netscape) ice   x-conference/x-cooltalk
Interactive chat (Ichat)     application/x-chat
       
Application Types      
       
Text-Related      
PostScript ai eps ps   application/postscript
Microsoft Rich Text Format rtf   application/rtf
Adobe Acrobat PDF pdf   application/pdf
      application/x-pdf
Maker Interchange Format (FrameMaker) mif   application/vnd.mif
      application/x-mif
Troff document t tr roff   application/x-troff
Troff document with MAN macros man   application/x-troff-man
Troff document with ME macros me   application/x-troff-me
Troff document with MS macros ms   application/x-troff-ms
LaTeX document latex   application/x-latex
Tex/LateX document tex   application/x-tex
GNU TexInfo document texinfo texi   application/x-texinfo
TeX dvi format dvi   application/x-dvi
MacWrite document ??   application/macwriteii
MS word document ??   application/msword
WordPerfect 5.1 document ??   application/wordperfect5.1
SGML application (RFC 1874)     application/sgml
Office Document Architecture oda   application/oda
Envoy Document evy   application/envoy
Wang Info. Tranfer Format (Wang)     application/wita
DEC Document Transfer Format (DEC)     application/dec-dx
IBM Document Content Architecture (IBM)     application/dca-rft
       
CommonGround Digital Paper (No Hands Software)     application/commonground
FrameMaker Documents (Frame) doc fm frm frame   application/vnd.framemaker
      application/x-framemaker
Remote printing at arbitrary printers (RFC 1486)     application/remote-printing
       
Archive/Compressed Archives      
Gnu tar format gtar   application/x-gtar
4.3BSD tar format tar   application/x-tar
POSIX tar format ustar   application/x-ustar
Old CPIO format bcpio   application/x-bcpio
POSIX CPIO format cpio   application/x-cpio
UNIX sh shell archive shar   application/x-shar
DOS/PC - Pkzipped archive zip   application/zip
Macintosh Binhexed archive hqx   application/mac-binhex40
Macintosh Stuffit Archive sit sea   application/x-stuffit
Fractal Image Format fif   application/fractals
Binary, UUencoded bin uu   application/octet-stream
PC executable exe   application/octet-stream
WAIS "sources" src wsrc   application/x-wais-source
NCSA HDF data format hdf   application/hdf
       
Downloadable Program/Scripts      
Javascript program js ls mocha   text/javascript
      application/x-javascript
VBScript program     text/vbscript
UNIX bourne shell program sh   application/x-sh
UNIX c-shell program csh   application/x-csh
Perl program pl   application/x-perl
Tcl (Tool Control Language) program tcl   application/x-tcl
Atomicmail program scripts (obsolete)     application/atomicmail
Slate documents - executable enclosures (BBN)     application/slate
Undefined binary data (often executable progs)     application/octet-stream
RISC OS Executable programs (ANT Limited)     application/riscos
       
Animation/Multimedia      
Andrew Toolkit inset     application/andrew-inset
FutureSplash vector animation (FutureWave) spl   application/futuresplash
mBED multimedia data (mBED) mbd   application/mbedlet
Macromedia Shockwave (Macromedia)     application/x-director
Sizzler real-time video/animation     application/x-sprite
PowerMedia multimedia (RadMedia) rad   application/x-rad-powermedia
       
Presentation      
PowerPoint presentation (Microsoft) ppz   application/mspowerpoint
PointPlus presentation data (Net Scene) css   application/x-pointplus
ASAP WordPower (Software Publishing Corp.) asp   application/x-asap
Astound Web Player multimedia data (GoldDisk) asn   application/astound
Special Embedded Object      
OLE script e.g. Visual Basic (Ncompass) axs   application/x-olescript
OLE Object (Microsoft/NCompass) ods   application/x-oleobject
OpenScape OLE/OCX objects (Business@Web) opp   x-form/x-openscape
Visual Basic objects (Amara) wba   application/x-webbasic
Specialized data entry forms (Alpha Software) frm   application/x-alpha-form
client-server objects (Wayfarer Communications) wfx   x-script/x-wfxclient
General Applications      
Undefined binary data (often executable progs)     application/octet-stream
CALS (U.S. D.O.D data format - RFC 1895)     application/cals-1840
Pointcast news data (Pointcast) pcn   application/x-pcn
Excel spreadsheet (Microsoft)     application/vnd.ms-excel
      application/x-msexcel
      application/ms-excel
PowerPoint (Microsoft) ppt   application/vnd.ms-powerpoint
      application/ms-powerpoint
Microsoft Project (Microsoft)     application/vnd.ms-project
Works data (Microsoft)     application/vnd.ms-works
MAPI data (Microsoft)     application/vnd.ms-tnef
Artgallery data (Microsoft)     application/vnd.artgalry
SourceView document (Dataware Electronics) svd   application/vnd.svd
Truedoc (Bitstream)     application/vnd.truedoc
Net Install - software install (20/20 Software) ins   application/x-net-install
Carbon Copy - remote control/access (Microcom) ccv   application/ccv
Spreadsheets (Visual Components) vts   workbook/formulaone
Cybercash digital money (Cybercash)     application/cybercash
Format for sending generic Macintosh files     application/applefile
Active message -- connect to active mail app.     application/activemessage
X.400 mail message body part (RFC 1494)     application/x400-bp
USENET news message id (RFC 1036)     application/news-message-id
USENET news message (RFC 1036)     application/news-transmission
       
Multipart Types (mostly email)      
Messages with multiple parts     multipart/mixed
Messages with multiple, alternative parts     multipart/alternative
Message with multiple, related parts     multipart/related
Multiple parts are digests     multipart/digest
For reporting of email status (admin.)     multipart/report
Order of parts does not matter     multipart/parallel
Macintosh file data     multipart/appledouble
Aggregate messages; descriptor as header     multipart/header-set
Container for voice-mail     multipart/voice-message
HTML FORM data (see Ch. 9 and App. B)     multipart/form-data
Infinite multiparts - See Chapter 9 (Netscape)     multipart/x-mixed-replace
       
Message Types (mostly email)      
MIME message     message/rfc822
Partial message     message/partial
Message containing external references     message/external-body
Message containing USENET news     message/news
HTTP message     message/http
       
2D/3D Data/Virtual Reality Types      
VRML data file wrl vrml   x-world/x-vrml

(changing to model/vrml)

WIRL - VRML data (VREAM) vrw   x-world/x-vream
Play3D 3d scene data (Play3D) p3d   application/x-p3d
Viscape Interactive 3d world data (Superscape) svr   x-world/x-svr
WebActive 3d data (Plastic Thought) wvr   x-world/x-wvr
QuickDraw3D scene data (Apple) 3dmf   x-world/x-3dmf
       
Scientific/Math/CAD Types      
Chemical types -- to communicate information about chemical models     chemical/* (several subtypes)
Mathematica notebook ma   application/mathematica
Computational meshes for numerical simulations msh   x-model/x-mesh

(evolving to model/mesh)

Vis5D 5-dimensional data v5d   application/vis5d
IGES models -- CAD/CAM (CGM) data igs   application/iges

(evolving to model/iges?)

Autocad WHIP vector drawings dwf   drawing/x-dwf
       

Largely Platform-Specific Types
     

Silicon Graphics Specific Types
     
Showcase Presentations showcase slides sc sho show   application/x-showcase
Insight Manual pages ins insight   application/x-insight
Iris Annotator data ano   application/x-annotator
Directory Viewer dir   application/x-dirview
Software License lic   application/x-enterlicense
Fax manager file faxmgr   application/x-fax-manager
Fax job data file faxmgrjob   application/x-fax-manager-job
IconBook data icnbk   application/x-iconbook
? wb   application/x-inpview
Installable software in 'inst' format inst   application/x-install
Mail folder mail   application/x-mailfolder
? pp ppages   application/x-ppages
Data for printer (via lpr) sgi-lpr   application/x-sgi-lpr
Software in 'tardist' format tardist   application/x-tardist
Software in compressed 'tardist' format ztardist   application/x-ztardist
WingZ spreadsheet wkz   application/x-wingz
Open Inventor 3-D scenes iv   graphics/x-inventor
       
分享到:
评论

相关推荐

    ContentType 类型大全 doc

    ContentType 类型大全 doc 在 Web 开发中,ContentType 是一个非常重要的概念,它决定了客户端浏览器如何解析从服务器端发送来的内容。在这个文章中,我们将详细介绍 ContentType 的各种类型,并解释每种类型的作用...

    ContentType类型大全彩信[参考].pdf

    其他常见的`ContentType`类型还包括: - `application/x-cdf`:Channel Definition Format 文件,用于定义网络频道。 - `text/css`:Cascading Style Sheets,用于定义网页样式。 - `application/pdf`:Portable ...

    文件下载及web文件的contentType类型大全

    ### 文件下载及Web文件的ContentType类型详解 在Web开发中,处理文件下载是常见的需求之一。为了确保用户能够正确地下载文件并且浏览器能够正确解析文件类型,开发者需要正确设置HTTP响应头中的`Content-Type`字段...

    ContentType大全

    本文将深入探讨`ContentType`的用途、常见类型以及如何在不同环境中进行设置。 `ContentType`全称为`Content-Type`,它是HTTP响应头中的一个字段,用于告诉浏览器或接收方数据的MIME类型(Multipurpose Internet ...

    Web文件的ContentType类型大全

    ### Web文件的ContentType类型大全解析 在Web开发与网络传输中,`Content-Type`是一个至关重要的HTTP头部字段,用于指示资源的数据类型。正确设置`Content-Type`有助于浏览器或服务器理解如何处理接收到的数据,...

    Java获取文件ContentType案例

    Java获取文件ContentType案例 Java获取文件ContentType案例主要介绍了Java获取文件ContentType的三种方式,具有很好的参考价值,希望对大家有所帮助。下面将详细说明每种方式的实现细节和优缺点。 方式一:使用...

    asp.net下Response.ContentType类型汇总

    ASP.NET 中 Response.ContentType 类型汇总 ASP.NET 中的 Response.ContentType 属性用于确定输出的文件类型,告诉浏览器如何处理服务器返回的数据。不同的文件类型对应不同的 ContentType,今天我们来总结 ASP...

    所有contentType类型

    ### 所有ContentType类型概述 在互联网通信及文件传输过程中,`Content-Type`是一个非常重要的HTTP头部字段,它用于指示资源的数据格式或类型。通过不同的`Content-Type`值,服务器可以告诉客户端(如浏览器)如何...

    contenttype

    ### Struts2中支持的文件类型转换 Struts2是一个基于MVC模式的Java Web应用程序框架,它提供了丰富的功能来简化Web应用的开发过程。在实际应用中,开发者经常需要处理各种类型的文件上传与下载问题,例如Word文档、...

    PageEncoding&contentType中charset区别

    - `contentType`则用于指定响应内容的类型以及字符集,直接影响到客户端(通常是浏览器)对响应数据的解析方式。 2. **作用范围不同**: - `pageEncoding`只影响JSP页面本身的内容编码。 - `contentType`影响...

    关于asp.net的ContentType输出格式

    在ASP.NET应用程序中,`ContentType`是一个非常重要的属性,它决定了服务器响应时所发送的数据类型。浏览器通过这个信息来解析响应的内容,从而正确地展示给用户。例如,当一个响应的`ContentType`设置为"text/html"...

    http请求contentType和response.md

    http中的contentType和responseType: contentType的主要类型和responseType的类型

    HTML中的ContentType

    Content-Type,连接类型,一般是指网页中存在的Content-Type,用于定义网络文件的类型和网页的编码,决定浏览器将以什么形式、什么编码读取这个文件。 例如将:ContentType设置为image/jpeg,那么浏览器打开页面将...

    org.eclipse.core.contenttype-3.4.100.zip

    `org.eclipse.core.contenttype` 是Eclipse框架中的一个核心组件,它处理内容类型(Content Types)。内容类型是Eclipse理解不同文件类型的机制,例如,它知道文本文件、图片文件或Java源代码文件应该怎样被编辑器...

    struts2 文件上传中 ContentType对应表

    在Struts2框架中,处理文件上传时,需要正确识别文件类型并设定对应的MIME类型(ContentType),这对于确保文件被正确解析至关重要。下面将详细介绍部分常见的文件扩展名及其对应的ContentType,以及这些类型的含义...

    SP2013ContentType

    在SharePoint 2013中,内容类型(ContentType)是一种强大的工具,它定义了一组预定义的属性和行为,可以应用于列表项或文档。"SP2013ContentType"很可能是某个示例项目或者教程,旨在展示如何创建、管理和使用内容...

    ContentType列表

    ContentType列表 文件列表 ContentType列表 ContentType列表 ContentType列表

    JSP页面中的pageEncoding和contentType两种属性的区别.

    在Java Server Pages(JSP)技术中,`pageEncoding`和`contentType`是两个重要的属性,它们分别控制着JSP页面的编码方式以及输出内容的类型。了解这两个属性的区别对于正确处理中文和其他非ASCII字符集非常重要。 #...

    ContentType控制输出的类型是否区分大小写

    根据提供的文件信息,我们可以展开讲解关于“ContentType控制输出的类型是否区分大小写”的知识点,以及围绕这个话题展开的相关技术细节。 首先,了解ContentType的含义至关重要。ContentType是HTTP协议中的头部...

Global site tag (gtag.js) - Google Analytics