`
lan13217
  • 浏览: 496153 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

Content-Type

    博客分类:
  • 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

http://www.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html

分享到:
评论

相关推荐

    Content-Type详解

    "Content-Type详解" Content-Type是HTTP协议中一个非常重要的头域,用于指示Web服务器发送的响应正文的格式和类型。 Content-Type头域的格式为:Content-Type: [type]/[subtype]; parameter。其中,type表示顶级...

    常用Content-type

    `Content-type`的设置对网页的正常展示至关重要,因为它决定了浏览器如何处理接收到的数据。例如,如果`Content-type`被设置为`text/html`,浏览器就会将数据解释为HTML文档并进行渲染;若设置为`application/json`...

    Content-Type的一张表

    标题“Content-Type的一张表”揭示了我们将讨论的重点是理解并掌握各种`Content-Type`值及其对应的数据格式。描述中的“很经典的。我找了好久”暗示这张表可能是对`Content-Type`全面且实用的总结,具有较高的参考...

    Go-依赖Content-Typeheader自动地解析request.Body

    理解如何有效地解析这个`Body`,尤其是依赖`Content-Type`头来确定数据格式,是每个Go开发者必须掌握的技能。本文将深入探讨Go语言中如何利用`Content-Type`头自动解析`request.Body`。 首先,`Content-Type`是HTTP...

    sense_0.9.zip解决Content-Type问题后版本

    【标题】"sense_0.9.zip"是一个针对Chrome浏览器的Elasticsearch管理工具的更新版本,主要用于解决之前版本中的Content-Type相关问题。这个压缩包包含的是升级后的sense插件,它是一个强大的命令行界面,使得用户...

    content-type的一张表

    content-type的说明~WPS格式的

    HTTP Content-type对照表.md

    HTTP Content-type对照表:文档中列举了开发中绝大部分的ContentType类型信息

    关于Content-Type的一张表

    关于Content-Type的一张表,这是我找了好久才找到的,很经典。

    php中header设置常见文件类型的content-type

    Content-Type用于指示服务器响应的内容类型,告诉浏览器或其他客户端应该以何种方式处理返回的数据。通过正确的设置Content-Type,可以确保Web页面正确显示,文件正确下载等。本文将详细介绍PHP中如何使用header函数...

    HTTP_Response消息Content-Type规范

    本篇文章将深入探讨`Content-Type`的规范及其在不同数据类型中的应用。 `Content-Type`由两部分组成:`type`和`subtype`,例如`text/html`。`type`通常表示数据的大类别,而`subtype`则更具体地描述了数据的格式。...

    前端开源库-content-type-mime

    总的来说,`content-type-mime`这样的前端开源库为开发者提供了一种标准化和便捷的方式来处理文件的MIME类型,提高了代码的可读性和可维护性,同时也降低了跨平台和跨浏览器兼容性问题的风险。理解和熟练使用这类库...

    content-type:创建和解析HTTP Content-Type标头

    $ npm install content-type API var contentType = require ( 'content-type' ) contentType.parse(字符串) var obj = contentType . parse ( 'image/svg+xml; charset=utf-8' ) 解析Content-Type标头。 这将...

    VUE项目axios请求头更改Content-Type操作

    对于特定请求类型,如POST请求,更改Content-Type字段是一个常见的操作,它用于指定客户端发送数据的格式。Content-Type表明了请求数据的MIME类型(Multipurpose Internet Mail Extensions,多用途互联网邮件扩展...

    content-type:解析 `Content-Type` 标头

    去取内容类型 解析Content-Type标头并向请求和响应对象添加访问器安装 npm install --save go-fetch-content-type用法 var HttpClient = require('go-fetch');var contentType = require('go-fetch-content-type');...

    Spring Boot 返回Content-Type解决方案

    前端同学需要Content-Type 字段返回,根据文件的类型不同返回不同的类型;还有就是直接打开一个下载链接,对于Chrome这样的浏览器其实支持自适应预览的效果。https://tool.oschina.net/commons/ 这里的链接中有好多...

    详解Http请求中Content-Type讲解以及在Spring MVC中的应用

    在Web开发中,特别是使用Spring MVC框架时,正确设置Content-Type对于处理客户端与服务器之间的数据交互至关重要。本文将深入探讨Content-Type的概念,常见的类型以及在Spring MVC中的应用。 Content-Type全称为...

    http中content-type头值-1

    下面将详细阐述`Content-Type`头值的常见类型及其用途。 1. **文本类型**: - `text/plain`: 这是最基础的类型,表示纯文本,如`.txt`文件。 - `text/html`: 表示HTML文档,是网页的主要格式。 - `text/css`: ...

    ContentType大全

    xhr.setRequestHeader('Content-Type', 'application/json'); ``` 设置正确的`ContentType`对于确保数据的正确传输和解析至关重要。如果忽略或错误设置,可能会导致浏览器无法正确处理数据,如显示乱码、无法播放...

Global site tag (gtag.js) - Google Analytics