做web开发时,经常需要设置一些返回数据的类型的头部,也就是 MIME Types。 这遍博客就是收罗了大部分的类型, 如果以后发现新的会持续更新。

扩展MIME 类型
.3dmx-world/x-3dmf
.3dmfx-world/x-3dmf
.3gpvideo/3gpp
.3gpaudio/3gpp
.3g2video/3gpp2
.3g2audio/3gpp2
.7zapplication/x-7z-compressed
.aapplication/octet-stream
.aabapplication/x-authorware-bin
.aacaudio/aac
.aamapplication/x-authorware-map
.aasapplication/x-authorware-seg
.abctext/vnd.abc
.acgitext/html
.aflvideo/animaflex
.aiapplication/postscript
.aifaudio/aiff
.aifaudio/x-aiff
.aifcaudio/aiff
.aifcaudio/x-aiff
.aiffaudio/aiff
.aiffaudio/x-aiff
.aimapplication/x-aim
.aiptext/x-audiosoft-intra
.aniapplication/x-navi-animation
.aosapplication/x-nokia-9000-communicator-add-on-software
.apsapplication/mime
.arcapplication/octet-stream
.arjapplication/arj
.arjapplication/octet-stream
.artimage/x-jg
.asfvideo/x-ms-asf
.asmtext/x-asm
.asptext/asp
.asxapplication/x-mplayer2
.asxvideo/x-ms-asf
.asxvideo/x-ms-asf-plugin
.auaudio/basic
.auaudio/x-au
.aviapplication/x-troff-msvideo
.avivideo/avi
.avivideo/msvideo
.avivideo/x-msvideo
.avsvideo/avs-video
.azwapplication/vnd.amazon.ebook
.bcpioapplication/x-bcpio
.binapplication/mac-binary
.binapplication/macbinary
.binapplication/octet-stream
.binapplication/x-binary
.binapplication/x-macbinary
.bmimage/bmp
.bmpimage/bmp
.bmpimage/x-windows-bmp
.booapplication/book
.bookapplication/book
.bozapplication/x-bzip2
.bshapplication/x-bsh
.bzapplication/x-bzip
.bz2application/x-bzip2
.ctext/plain
.ctext/x-c
.c++ text/plain
.catapplication/vnd.ms-pki.seccat
.cctext/plain
.cctext/x-c
.ccadapplication/clariscad
.ccoapplication/x-cocoa
.cdfapplication/cdf
.cdfapplication/x-cdf
.cdfapplication/x-netcdf
.cerapplication/pkix-cert
.cerapplication/x-x509-ca-cert
.chaapplication/x-chat
.chatapplication/x-chat
.classapplication/java
.classapplication/java-byte-code
.classapplication/x-java-class
.comapplication/octet-stream
.comtext/plain
.conftext/plain
.cpioapplication/x-cpio
.cpptext/x-c
.cptapplication/mac-compactpro
.cptapplication/x-compactpro
.cptapplication/x-cpt
.crlapplication/pkcs-crl
.crlapplication/pkix-crl
.crtapplication/pkix-cert
.crtapplication/x-x509-ca-cert
.crtapplication/x-x509-user-cert
.cshapplication/x-csh
.cshtext/x-script.csh
.csrapplication/pkcs10
.cssapplication/x-pointplus
.csstext/css
.csvtext/csv
.cxxtext/plain
.dcrapplication/x-director
.deepvapplication/x-deepv
.deftext/plain
.derapplication/x-x509-ca-cert
.difvideo/x-dv
.dirapplication/x-director
.dlvideo/dl
.dlvideo/x-dl
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotapplication/msword
.dpapplication/commonground
.drwapplication/drafting
.dumpapplication/octet-stream
.dvvideo/x-dv
.dviapplication/x-dvi
.dwfdrawing/x-dwf (old)
.dwfmodel/vnd.dwf
.dwgapplication/acad
.dwgimage/vnd.dwg
.dwgimage/x-dwg
.dxfapplication/dxf
.dxfimage/vnd.dwg
.dxfimage/x-dwg
.dxrapplication/x-director
.eltext/x-script.elisp
.elcapplication/x-bytecode.elisp (compiled elisp)
.elcapplication/x-elc
.envapplication/x-envoy
.epsapplication/postscript
.esapplication/x-esrehber
.etxtext/x-setext
.eotapplication/vnd.ms-fontobject
.epubapplication/epub+zip
.evyapplication/envoy
.evyapplication/x-envoy
.exeapplication/octet-stream
.ftext/plain
.ftext/x-fortran
.f77text/x-fortran
.f90text/plain
.f90text/x-fortran
.fdfapplication/vnd.fdf
.fifapplication/fractals
.fifimage/fif
.flivideo/fli
.flivideo/x-fli
.floimage/florian
.flxtext/vnd.fmi.flexstor
.fmfvideo/x-atomic3d-feature
.fortext/plain
.fortext/x-fortran
.fpximage/vnd.fpx
.fpximage/vnd.net-fpx
.frlapplication/freeloader
.funkaudio/make
.gtext/plain
.g3image/g3fax
.gifimage/gif
.glvideo/gl
.glvideo/x-gl
.gsdaudio/x-gsm
.gsmaudio/x-gsm
.gspapplication/x-gsp
.gssapplication/x-gss
.gtarapplication/x-gtar
.gzapplication/x-compressed
.gzapplication/x-gzip
.gzipapplication/x-gzip
.gzipmultipart/x-gzip
.htext/plain
.htext/x-h
.hdfapplication/x-hdf
.helpapplication/x-helpfile
.hglapplication/vnd.hp-hpgl
.hhtext/plain
.hhtext/x-h
.hlbtext/x-script
.hlpapplication/hlp
.hlpapplication/x-helpfile
.hlpapplication/x-winhelp
.hpgapplication/vnd.hp-hpgl
.hpglapplication/vnd.hp-hpgl
.hqxapplication/binhex
.hqxapplication/binhex4
.hqxapplication/mac-binhex
.hqxapplication/mac-binhex40
.hqxapplication/x-binhex40
.hqxapplication/x-mac-binhex40
.htaapplication/hta
.htctext/x-component
.htmtext/html
.htmltext/html
.htmlstext/html
.htttext/webviewhtml
.htxtext/html
.icex-conference/x-cooltalk
.icoimage/x-icon
.icstext/calendar
.idctext/plain
.iefimage/ief
.iefsimage/ief
.igesapplication/iges
.igesmodel/iges
.igsapplication/iges
.igsmodel/iges
.imaapplication/x-ima
.imapapplication/x-httpd-imap
.infapplication/inf
.insapplication/x-internett-signup
.ipapplication/x-ip2
.isuvideo/x-isvideo
.itaudio/it
.ivapplication/x-inventor
.ivri-world/i-vrml
.ivyapplication/x-livescreen
.jamaudio/x-jam
.jarapplication/java-archive
.javtext/plain
.javtext/x-java-source
.javatext/plain
.javatext/x-java-source
.jcmapplication/x-java-commerce
.jfifimage/jpeg
.jfifimage/pjpeg
.jfif-tbnl image/jpeg
.jpeimage/jpeg
.jpeimage/pjpeg
.jpegimage/jpeg
.jpegimage/pjpeg
.jpgimage/jpeg
.jpgimage/pjpeg
.jpsimage/x-jps
.jsapplication/x-javascript
.jsapplication/javascript
.jsapplication/ecmascript
.jstext/javascript
.jstext/ecmascript
.jsonapplication/json
.jutimage/jutvision
.karaudio/midi
.karmusic/x-karaoke
.keyapplication/pkcs8
.kshapplication/x-ksh
.kshtext/x-script.ksh
.laaudio/nspaudio
.laaudio/x-nspaudio
.lamaudio/x-liveaudio
.latexapplication/x-latex
.lhaapplication/lha
.lhaapplication/octet-stream
.lhaapplication/x-lha
.lhxapplication/octet-stream
.listtext/plain
.lmaaudio/nspaudio
.lmaaudio/x-nspaudio
.logtext/plain
.lspapplication/x-lisp
.lsptext/x-script.lisp
.lsttext/plain
.lsxtext/x-la-asf
.ltxapplication/x-latex
.lzhapplication/octet-stream
.lzhapplication/x-lzh
.lzxapplication/lzx
.lzxapplication/octet-stream
.lzxapplication/x-lzx
.mtext/plain
.mtext/x-m
.m1vvideo/mpeg
.m2aaudio/mpeg
.m2vvideo/mpeg
.m3uaudio/x-mpequrl
.manapplication/x-troff-man
.mapapplication/x-navimap
.martext/plain
.mbdapplication/mbedlet
.mc$ application/x-magic-cap-package-1.0
.mcdapplication/mcad
.mcdapplication/x-mathcad
.mcfimage/vasa
.mcftext/mcf
.mcpapplication/netmc
.meapplication/x-troff-me
.mhtmessage/rfc822
.mhtmlmessage/rfc822
.midapplication/x-midi
.midaudio/midi
.midaudio/x-mid
.midaudio/x-midi
.midmusic/crescendo
.midx-music/x-midi
.midiapplication/x-midi
.midiaudio/midi
.midiaudio/x-mid
.midiaudio/x-midi
.midimusic/crescendo
.midix-music/x-midi
.mifapplication/x-frame
.mifapplication/x-mif
.mimemessage/rfc822
.mimewww/mime
.mjfaudio/x-vnd.audioexplosion.mjuicemediafile
.mjpgvideo/x-motion-jpeg
.mjsapplication/javascript
.mmapplication/base64
.mmapplication/x-meme
.mmeapplication/base64
.modaudio/mod
.modaudio/x-mod
.moovvideo/quicktime
.movvideo/quicktime
.movievideo/x-sgi-movie
.mp2audio/mpeg
.mp2audio/x-mpeg
.mp2video/mpeg
.mp2video/x-mpeg
.mp2video/x-mpeq2a
.mp3audio/mpeg3
.mp3audio/x-mpeg-3
.mp3video/mpeg
.mp3video/x-mpeg
.mpaaudio/mpeg
.mpavideo/mpeg
.mpcapplication/x-project
.mpevideo/mpeg
.mpegvideo/mpeg
.mpgaudio/mpeg
.mpgvideo/mpeg
.mpgaaudio/mpeg
.mppapplication/vnd.ms-project
.mptapplication/x-project
.mpvapplication/x-project
.mpxapplication/x-project
.mrcapplication/marc
.msapplication/x-troff-ms
.mvvideo/x-sgi-movie
.myaudio/make
.mzzapplication/x-vnd.audioexplosion.mzz
.napimage/naplps
.naplpsimage/naplps
.ncapplication/x-netcdf
.ncmapplication/vnd.nokia.configuration-message
.nifimage/x-niff
.niffimage/x-niff
.nixapplication/x-mix-transfer
.nscapplication/x-conference
.nvdapplication/x-navidoc
.oapplication/octet-stream
.odaapplication/oda
.odpapplication/vnd.oasis.opendocument.presentation
.odsapplication/vnd.oasis.opendocument.spreadsheet
.odtapplication/vnd.oasis.opendocument.text
.ogaaudio/ogg
.ogvvideo/ogg
.ogxapplication/ogg
.omcapplication/x-omc
.otffont/otf
.omcdapplication/x-omcdatamaker
.omcrapplication/x-omcregerator
.ptext/x-pascal
.p8application/pkcs8
.p10application/pkcs10
.p10application/x-pkcs10
.p12application/pkcs-12
.p12application/x-pkcs12
.p7aapplication/x-pkcs7-signature
.p7bapplication/x-pkcs7-certificates
.p7capplication/pkcs7-mime
.p7capplication/x-pkcs7-mime
.p7mapplication/pkcs7-mime
.p7mapplication/x-pkcs7-mime
.p7rapplication/x-pkcs7-certreqresp
.p7sapplication/pkcs7-signature
.partapplication/pro_eng
.pastext/pascal
.pbmimage/x-portable-bitmap
.pclapplication/vnd.hp-pcl
.pclapplication/x-pcl
.pctimage/x-pict
.pcximage/x-pcx
.pdbchemical/x-pdb
.pdfapplication/pdf
.pemapplication/x-pem-file
.pfunkaudio/make
.pfunkaudio/make.my.funk
.pfxapplication/x-pkcs12
.pgmimage/x-portable-graymap
.pgmimage/x-portable-greymap
.picimage/pict
.pictimage/pict
.pkgapplication/x-newton-compatible-pkg
.pkoapplication/vnd.ms-pki.pko
.pltext/plain
.pltext/x-script.perl
.plxapplication/x-pixclscript
.pmimage/x-xpixmap
.pmtext/x-script.perl-module
.pm4application/x-pagemaker
.pm5application/x-pagemaker
.pngimage/png
.pnmapplication/x-portable-anymap
.pnmimage/x-portable-anymap
.potapplication/mspowerpoint
.potapplication/vnd.ms-powerpoint
.povmodel/x-pov
.ppaapplication/vnd.ms-powerpoint
.ppmimage/x-portable-pixmap
.ppsapplication/mspowerpoint
.ppsapplication/vnd.ms-powerpoint
.pptapplication/mspowerpoint
.pptapplication/powerpoint
.pptapplication/vnd.ms-powerpoint
.pptapplication/x-mspowerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.ppzapplication/mspowerpoint
.preapplication/x-freelance
.prtapplication/pro_eng
.psapplication/postscript
.psdapplication/octet-stream
.pvupaleovu/x-pv
.pwzapplication/vnd.ms-powerpoint
.pytext/x-script.phyton
.pycapplication/x-bytecode.python
.qcpaudio/vnd.qcelp
.qd3x-world/x-3dmf
.qd3dx-world/x-3dmf
.qifimage/x-quicktime
.qtvideo/quicktime
.qtcvideo/x-qtc
.qtiimage/x-quicktime
.qtifimage/x-quicktime
.raaudio/x-pn-realaudio
.raaudio/x-pn-realaudio-plugin
.raaudio/x-realaudio
.rarapplication/x-rar-compressed
.ramaudio/x-pn-realaudio
.rasapplication/x-cmu-raster
.rasimage/cmu-raster
.rasimage/x-cmu-raster
.rastimage/cmu-raster
.rexxtext/x-script.rexx
.rfimage/vnd.rn-realflash
.rgbimage/x-rgb
.rmapplication/vnd.rn-realmedia
.rmaudio/x-pn-realaudio
.rmiaudio/mid
.rmmaudio/x-pn-realaudio
.rmpaudio/x-pn-realaudio
.rmpaudio/x-pn-realaudio-plugin
.rngapplication/ringing-tones
.rngapplication/vnd.nokia.ringing-tone
.rnxapplication/vnd.rn-realplayer
.roffapplication/x-troff
.rpimage/vnd.rn-realpix
.rpmaudio/x-pn-realaudio-plugin
.rttext/richtext
.rttext/vnd.rn-realtext
.rtfapplication/rtf
.rtfapplication/x-rtf
.rtftext/richtext
.rtxapplication/rtf
.rtxtext/richtext
.rvvideo/vnd.rn-realvideo
.stext/x-asm
.s3maudio/s3m
.savemeapplication/octet-stream
.sbkapplication/x-tbook
.scmapplication/x-lotusscreencam
.scmtext/x-script.guile
.scmtext/x-script.scheme
.scmvideo/x-scm
.sdmltext/plain
.sdpapplication/sdp
.sdpapplication/x-sdp
.sdrapplication/sounder
.seaapplication/sea
.seaapplication/x-sea
.setapplication/set
.sgmtext/sgml
.sgmtext/x-sgml
.sgmltext/sgml
.sgmltext/x-sgml
.shapplication/x-bsh
.shapplication/x-sh
.shapplication/x-shar
.shtext/x-script.sh
.sharapplication/x-bsh
.sharapplication/x-shar
.shtmltext/html
.shtmltext/x-server-parsed-html
.sidaudio/x-psid
.sitapplication/x-sit
.sitapplication/x-stuffit
.skdapplication/x-koan
.skmapplication/x-koan
.skpapplication/x-koan
.sktapplication/x-koan
.slapplication/x-seelogo
.smiapplication/smil
.smilapplication/smil
.sndaudio/basic
.sndaudio/x-adpcm
.solapplication/solids
.spcapplication/x-pkcs7-certificates
.spctext/x-speech
.splapplication/futuresplash
.sprapplication/x-sprite
.spriteapplication/x-sprite
.srcapplication/x-wais-source
.ssitext/x-server-parsed-html
.ssmapplication/streamingmedia
.sstapplication/vnd.ms-pki.certstore
.stepapplication/step
.stlapplication/sla
.stlapplication/vnd.ms-pki.stl
.stlapplication/x-navistyle
.stpapplication/step
.sv4cpioapplication/x-sv4cpio
.sv4crcapplication/x-sv4crc
.svfimage/vnd.dwg
.svfimage/x-dwg
.svgimage/svg+xml
.svrapplication/x-world
.svrx-world/x-svr
.swfapplication/x-shockwave-flash
.tapplication/x-troff
.talktext/x-speech
.tarapplication/x-tar
.tbkapplication/toolbook
.tbkapplication/x-tbook
.tclapplication/x-tcl
.tcltext/x-script.tcl
.tcshtext/x-script.tcsh
.texapplication/x-tex
.texiapplication/x-texinfo
.texinfoapplication/x-texinfo
.textapplication/plain
.texttext/plain
.tgzapplication/gnutar
.tgzapplication/x-compressed
.tifimage/tiff
.tifimage/x-tiff
.tiffimage/tiff
.tiffimage/x-tiff
.trapplication/x-troff
.tsiaudio/tsp-audio
.tspapplication/dsptype
.tspaudio/tsplayer
.tsvtext/tab-separated-values
.turbotimage/florian
.txttext/plain
.uiltext/x-uil
.unitext/uri-list
.unistext/uri-list
.unvapplication/i-deas
.uritext/uri-list
.uristext/uri-list
.ustarapplication/x-ustar
.ustarmultipart/x-ustar
.uuapplication/octet-stream
.uutext/x-uuencode
.uuetext/x-uuencode
.vcdapplication/x-cdlink
.vcstext/x-vcalendar
.vdaapplication/vda
.vdovideo/vdo
.vewapplication/groupwise
.vivvideo/vivo
.vivvideo/vnd.vivo
.vivovideo/vivo
.vivovideo/vnd.vivo
.vmdapplication/vocaltec-media-desc
.vmfapplication/vocaltec-media-file
.vocaudio/voc
.vocaudio/x-voc
.vosvideo/vosaic
.voxaudio/voxware
.vqeaudio/x-twinvq-plugin
.vqfaudio/x-twinvq
.vqlaudio/x-twinvq-plugin
.vrmlapplication/x-vrml
.vrmlmodel/vrml
.vrmlx-world/x-vrml
.vrtx-world/x-vrt
.vsdapplication/x-visio
.vstapplication/x-visio
.vswapplication/x-visio
.w60application/wordperfect6.0
.w61application/wordperfect6.1
.w6wapplication/msword
.wavaudio/wav
.wavaudio/x-wav
.wb1application/x-qpro
.wbmpimage/vnd.wap.wbmp
.webapplication/vnd.xara
.webaaudio/webm
.webmvideo/webm
.webpimage/webp
.wizapplication/msword
.wk1application/x-123
.wmfwindows/metafile
.wmltext/vnd.wap.wml
.wmlcapplication/vnd.wap.wmlc
.wmlstext/vnd.wap.wmlscript
.wmlscapplication/vnd.wap.wmlscriptc
.wordapplication/msword
.wofffont/woff
.woff2font/woff2
.wpapplication/wordperfect
.wp5application/wordperfect
.wp5application/wordperfect6.0
.wp6application/wordperfect
.wpdapplication/wordperfect
.wpdapplication/x-wpwin
.wq1application/x-lotus
.wriapplication/mswrite
.wriapplication/x-wri
.wrlapplication/x-world
.wrlmodel/vrml
.wrlx-world/x-vrml
.wrzmodel/vrml
.wrzx-world/x-vrml
.wsctext/scriplet
.wsrcapplication/x-wais-source
.wtkapplication/x-wintalk
.xbmimage/x-xbitmap
.xbmimage/x-xbm
.xbmimage/xbm
.xdrvideo/x-amt-demorun
.xgzxgl/drawing
.xhtmlapplication/xhtml+xml
.xifimage/vnd.xiff
.xlapplication/excel
.xlaapplication/excel
.xlaapplication/x-excel
.xlaapplication/x-msexcel
.xlbapplication/excel
.xlbapplication/vnd.ms-excel
.xlbapplication/x-excel
.xlcapplication/excel
.xlcapplication/vnd.ms-excel
.xlcapplication/x-excel
.xldapplication/excel
.xldapplication/x-excel
.xlkapplication/excel
.xlkapplication/x-excel
.xllapplication/excel
.xllapplication/vnd.ms-excel
.xllapplication/x-excel
.xlmapplication/excel
.xlmapplication/vnd.ms-excel
.xlmapplication/x-excel
.xlsapplication/excel
.xlsapplication/vnd.ms-excel
.xlsapplication/x-excel
.xlsapplication/x-msexcel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltapplication/excel
.xltapplication/x-excel
.xlvapplication/excel
.xlvapplication/x-excel
.xlwapplication/excel
.xlwapplication/vnd.ms-excel
.xlwapplication/x-excel
.xlwapplication/x-msexcel
.xmaudio/xm
.xmlapplication/xml
.xmltext/xml
.xmzxgl/movie
.xpixapplication/x-vnd.ls-xpix
.xpmimage/x-xpixmap
.xpmimage/xpm
.xulapplication/vnd.mozilla.xul+xml
.x-pngimage/png
.xsrvideo/x-amt-showrun
.xwdimage/x-xwd
.xwdimage/x-xwindowdump
.xyzchemical/x-pdb
.zapplication/x-compress
.zapplication/x-compressed
.zipapplication/x-compressed
.zipapplication/x-zip-compressed
.zipapplication/zip
.zipmultipart/x-zip
.zooapplication/octet-stream
.zshtext/x-script.zsh