`

Content-type 汇总

阅读更多

 

 

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
分享到:
评论

相关推荐

    META 经典 汇总

    1. **Content-Type和Content-Language** - **用途**:设定页面使用的字符集,确保浏览器正确解读页面文本,避免乱码现象。如`<meta http-equiv="Content-Type" content="text/html; charset=utf-8">`用于声明页面...

    jmeter测接口注意事项.doc

    这样做是因为 JSON 数据通常需要指定正确的 Content-Type,以便服务器识别请求的数据格式。 4. **创建 HTTP 请求**:添加 "Add" -> "Sampler" -> "HTTP Request",在 "Body Data" 部分输入你的 JSON 数据。确保每个...

    SIP常用消息实例参考

    * Content-Type:可选,用于标识消息的内容类型 * Content-Length:可选,用于标识消息的内容长度 MESSAGE消息实例: * 发送MESSAGE请求消息给192.168.2.48的6010端口,参考消息如下: MESSAGE sip:1897778888@...

    ajax乱码解决汇总

    在Ajax发送数据时,Content-Type字段用于指示数据的格式。当设置为"application/x-www-form-urlencoded"时,数据将以键值对的形式发送,通常使用POST方法。GET方法由于URL长度限制,可能会导致大数据量的传输出现...

    PHP 常用的header头部定义汇总

    - 对于需要下载的文件,可以设置为'Content-Type: application/octet-stream',然后通过'Content-Disposition: attachment;filename="ITblog.zip"'指定下载文件名。 3. 内容语言定义:'Content-language: en' 指示...

    asp.net下Response.ContentType类型汇总

    在ASP.NET中使用Response.ContentType=”类型名”;来确定输出格式 ‘ez’ => ‘application/andrew-inset’, ‘hqx’ => ‘application/mac-binhex40’, ‘cpt’ => ‘application/mac-compactpro’, ‘doc...

    前端面试题汇总-分享一下,给面试前端的朋友

    - 头部字段的使用,如Content-Type、Cookie、Cache-Control等。 9. Web安全: - XSS(跨站脚本攻击)和CSRF(跨站请求伪造)的基本防范措施。 - HTTPS与HTTP的区别,SSL/TLS加密原理。 10. 性能优化: - 页面...

    http知识超全汇总-all.zip

    5. **首部字段**:HTTP首部字段用于传递额外的信息,如Cookie和Set-Cookie用于管理会话,Content-Type定义了实体主体的数据类型,Accept指明客户端接受的媒体类型。 6. **版本号**:HTTP经历了多个版本的发展,从...

    nodejs爬虫遇到的乱码问题汇总

    如果响应头中的Content-Type声明的编码与实际发送的数据编码不符,也会导致乱码。 3. 服务器端编码策略 一些网站可能会故意使用错误的编码来混淆爬虫,以防止爬虫正确解析页面内容。例如,网页源码中给出的编码方式...

    PHP中iconv函数知识汇总

    header('Content-Type: application/vnd.ms-excel;charset=UTF-8'); $name=iconv('utf-8', 'gb2312', $data['year'].'年,第'.$data['period'].'期通信录'); header('Content-Disposition: attachment;filename=' . ...

    C# 将数据导出到Execl汇总

    这里的`Content-Type`设置为`application/vnd.ms-excel`,表示将输出Excel格式的文件。此外,通过`Content-Disposition`设置附件名称,以便用户下载时能够看到正确的文件名。 ##### 2. 将DataGrid控件中的数据导出...

    WAP开发常见问题汇总篇

    ### WAP开发常见问题汇总知识点解析 #### 一、开发WAP软件所需工具及环境 **1. 开发工具需求** - **WAP网关**:用于处理WAP请求和服务,可通过配置支持WML的服务器实现。 - **WAP工具包**:包含模拟器和浏览器等,...

    PHP基于curl模拟post提交json数据示例.docx

    2. 设置请求头:使用 curl_setopt() 函数设置请求头,例如设置 Content-Type 为 application/json,表明提交的数据为 json 格式。 3. 设置请求体:使用 curl_setopt() 函数设置请求体,例如 json 数据。 4. 执行请求...

    Ajax 基础知识点汇总(代码+知识点+xmind思维导图)

    3. **设置请求头**: 对于POST请求,可能需要设置Content-Type。 ```javascript xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); ``` 4. **发送请求**: 发送请求到服务器。 ```...

    几个有用的AJAX教程汇总

    3. 设置请求头:对于POST请求,通常需要设置Content-Type头,如`xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')`。 4. 发送请求:调用send()方法,对于GET请求,直接发送空字符串;...

    HTTP 超全汇总.pdf

    响应则包括状态码(如200 OK、404 Not Found等)、响应头和响应体,头字段如Server、Location、Content-Type等,用于告知客户端响应的类型和位置。 HTTP基于TCP/IP协议栈,通过TCP连接进行数据传输。DNS(域名系统...

    C#将数据导出到Execl汇总

    1. **设置Response属性**:首先,需要设置`Response`对象的相关属性,包括`Content-Type`、`Content-Disposition`等,以告诉浏览器将接收到的数据解释为Excel文件。 2. **输出数据**:接着,使用`Response.Write()`...

    测开面试常问问题汇总.docx

    * 请求头(user-agent、content-type、cookie、cache-control、connection:keep-alive) * 空行 * 请求数据 响应报文包括: * 状态行(HTTP 版本、状态码、状态信息) * 消息报头(content-type、date 等) * ...

Global site tag (gtag.js) - Google Analytics