Content-Type,内容类型,一般是指网页中存在的Content-Type,用于定义网络文件的类型和网页的编码,决定文件接收方将以什么形式、什么编码读取这个文件,这就是经常看到一些Asp网页点击的结果却是下载到的一个文件或一张图片的原因。
小窍门:ctrl+f快速查找
HTTP contentType类型
文件扩展名Content-Type(Mime-Type) 文件扩展名Content-Type(Mime-Type) 文件扩展名Content-Type(Mime-Type) 文件扩展名Content-Type(Mime-Type)
.*application/octet-stream .enttext/xml .mfpapplication/x-shockwave-flash .pptapplication/x-ppt
.tifimage/tiff .epiapplication/x-epi .mhtmessage/rfc822 .prapplication/x-pr
.001application/x-001 .epsapplication/x-ps .mhtmlmessage/rfc822 .prfapplication/pics-rules
.301application/x-301 .epsapplication/postscript .miapplication/x-mi .prnapplication/x-prn
.323text/h323 .etdapplication/x-ebx .midaudio/mid .prtapplication/x-prt
.906application/x-906 .exeapplication/x-msdownload .midiaudio/mid .psapplication/x-ps
.907drawing/907 .faximage/fax .milapplication/x-mil .psapplication/postscript
.a11application/x-a11 .fdfapplication/vnd.fdf .mmltext/xml .ptnapplication/x-ptn
.acpaudio/x-mei-aac .fifapplication/fractals .mndaudio/x-musicnet-download .pwzapplication/vnd.ms-powerpoint
.aiapplication/postscript .fotext/xml .mnsaudio/x-musicnet-stream .r3ttext/vnd.rn-realtext3d
.aifaudio/aiff .frmapplication/x-frm .mochaapplication/x-javascript .raaudio/vnd.rn-realaudio
.aifcaudio/aiff .g4application/x-g4 .movievideo/x-sgi-movie .ramaudio/x-pn-realaudio
.aiffaudio/aiff .gbrapplication/x-gbr .mp1audio/mp1 .rasapplication/x-ras
.anvapplication/x-anv .application/x- .mp2audio/mp2 .ratapplication/rat-file
.asatext/asa .gifimage/gif .mp2vvideo/mpeg .rdftext/xml
.asfvideo/x-ms-asf .gl2application/x-gl2 .mp3audio/mp3 .recapplication/vnd.rn-recording
.asptext/asp .gp4application/x-gp4 .mp4video/mpeg4 .redapplication/x-red
.asxvideo/x-ms-asf .hglapplication/x-hgl .mpavideo/x-mpg .rgbapplication/x-rgb
.auaudio/basic .hmrapplication/x-hmr .mpdapplication/vnd.ms-project .rjsapplication/vnd.rn-realsystem-rjs
.avivideo/avi .hpgapplication/x-hpgl .mpevideo/x-mpeg .rjtapplication/vnd.rn-realsystem-rjt
.awfapplication/vnd.adobe.workflow .hplapplication/x-hpl .mpegvideo/mpg .rlcapplication/x-rlc
.biztext/xml .hqxapplication/mac-binhex40 .mpgvideo/mpg .rleapplication/x-rle
.bmpapplication/x-bmp .hrfapplication/x-hrf .mpgaaudio/rn-mpeg .rmapplication/vnd.rn-realmedia
.botapplication/x-bot .htaapplication/hta .mppapplication/vnd.ms-project .rmfapplication/vnd.adobe.rmf
.c4tapplication/x-c4t .htctext/x-component .mpsvideo/x-mpeg .rmiaudio/mid
.c90application/x-c90 .htmtext/html .mptapplication/vnd.ms-project .rmjapplication/vnd.rn-realsystem-rmj
.calapplication/x-cals .htmltext/html .mpvvideo/mpg .rmmaudio/x-pn-realaudio
.catapplication/vnd.ms-pki.seccat .htttext/webviewhtml .mpv2video/mpeg .rmpapplication/vnd.rn-rn_music_package
.cdfapplication/x-netcdf .htxtext/html .mpwapplication/vnd.ms-project .rmsapplication/vnd.rn-realmedia-secure
.cdrapplication/x-cdr .icbapplication/x-icb .mpxapplication/vnd.ms-project .rmvbapplication/vnd.rn-realmedia-vbr
.celapplication/x-cel .icoimage/x-icon .mtxtext/xml .rmxapplication/vnd.rn-realsystem-rmx
.cerapplication/x-x509-ca-cert .icoapplication/x-ico .mxpapplication/x-mmxp .rnxapplication/vnd.rn-realplayer
.cg4application/x-g4 .iffapplication/x-iff .netimage/pnetvue .rpimage/vnd.rn-realpix
.cgmapplication/x-cgm .ig4application/x-g4 .nrfapplication/x-nrf .rpmaudio/x-pn-realaudio-plugin
.citapplication/x-cit .igsapplication/x-igs .nwsmessage/rfc822 .rsmlapplication/vnd.rn-rsml
.classjava/* .iiiapplication/x-iphone .odctext/x-ms-odc .rttext/vnd.rn-realtext
.cmltext/xml .imgapplication/x-img .outapplication/x-out .rtfapplication/msword
.cmpapplication/x-cmp .insapplication/x-internet-signup .p10application/pkcs10 .rtfapplication/x-rtf
.cmxapplication/x-cmx .ispapplication/x-internet-signup .p12application/x-pkcs12 .rvvideo/vnd.rn-realvideo
.cotapplication/x-cot .IVFvideo/x-ivf .p7bapplication/x-pkcs7-certificates .samapplication/x-sam
.crlapplication/pkix-crl .javajava/* .p7capplication/pkcs7-mime .satapplication/x-sat
.crtapplication/x-x509-ca-cert .jfifimage/jpeg .p7mapplication/pkcs7-mime .sdpapplication/sdp
.csiapplication/x-csi .jpeimage/jpeg .p7rapplication/x-pkcs7-certreqresp .sdwapplication/x-sdw
.csstext/css .jpeapplication/x-jpe .p7sapplication/pkcs7-signature .sitapplication/x-stuffit
.cutapplication/x-cut .jpegimage/jpeg .pc5application/x-pc5 .slbapplication/x-slb
.dbfapplication/x-dbf .jpgimage/jpeg .pciapplication/x-pci .sldapplication/x-sld
.dbmapplication/x-dbm .jpgapplication/x-jpg .pclapplication/x-pcl .slkdrawing/x-slk
.dbxapplication/x-dbx .jsapplication/x-javascript .pcxapplication/x-pcx .smiapplication/smil
.dcdtext/xml .jsptext/html .pdfapplication/pdf .smilapplication/smil
.dcxapplication/x-dcx .la1audio/x-liquid-file .pdfapplication/pdf .smkapplication/x-smk
.derapplication/x-x509-ca-cert .larapplication/x-laplayer-reg .pdxapplication/vnd.adobe.pdx .sndaudio/basic
.dgnapplication/x-dgn .latexapplication/x-latex .pfxapplication/x-pkcs12 .soltext/plain
.dibapplication/x-dib .lavsaudio/x-liquid-secure .pglapplication/x-pgl .sortext/plain
.dllapplication/x-msdownload .lbmapplication/x-lbm .picapplication/x-pic .spcapplication/x-pkcs7-certificates
.docapplication/msword .lmsffaudio/x-la-lms .pkoapplication/vnd.ms-pki.pko .splapplication/futuresplash
.dotapplication/msword .lsapplication/x-javascript .plapplication/x-perl .spptext/xml
.drwapplication/x-drw .ltrapplication/x-ltr .plgtext/html .ssmapplication/streamingmedia
.dtdtext/xml .m1vvideo/x-mpeg .plsaudio/scpls .sstapplication/vnd.ms-pki.certstore
.dwfModel/vnd.dwf .m2vvideo/x-mpeg .pltapplication/x-plt .stlapplication/vnd.ms-pki.stl
.dwfapplication/x-dwf .m3uaudio/mpegurl .pngimage/png .stmtext/html
.dwgapplication/x-dwg .m4evideo/mpeg4 .pngapplication/x-png .styapplication/x-sty
.dxbapplication/x-dxb .macapplication/x-mac .potapplication/vnd.ms-powerpoint .svgtext/xml
.dxfapplication/x-dxf .manapplication/x-troff-man .ppaapplication/vnd.ms-powerpoint .swfapplication/x-shockwave-flash
.ednapplication/vnd.adobe.edn .mathtext/xml .ppmapplication/x-ppm .tdfapplication/x-tdf
.emfapplication/x-emf .mdbapplication/msaccess .ppsapplication/vnd.ms-powerpoint .tg4application/x-tg4
.emlmessage/rfc822 .mdbapplication/x-mdb .pptapplication/vnd.ms-powerpoint .tgaapplication/x-tga
.enttext/xml .mfpapplication/x-shockwave-flash .pptapplication/x-ppt .tifimage/tiff
.epiapplication/x-epi .mhtmessage/rfc822 .prapplication/x-pr .tifapplication/x-tif
.epsapplication/x-ps .mhtmlmessage/rfc822 .prfapplication/pics-rules .tiffimage/tiff
.epsapplication/postscript .miapplication/x-mi .prnapplication/x-prn .tldtext/xml
.etdapplication/x-ebx .midaudio/mid .prtapplication/x-prt .topdrawing/x-top
.exeapplication/x-msdownload .midiaudio/mid .psapplication/x-ps .torrentapplication/x-bittorrent
.faximage/fax .milapplication/x-mil .psapplication/postscript .tsdtext/xml
.fdfapplication/vnd.fdf .mmltext/xml .ptnapplication/x-ptn .txttext/plain
.fifapplication/fractals .mndaudio/x-musicnet-download .pwzapplication/vnd.ms-powerpoint .uinapplication/x-icq
.fotext/xml .mnsaudio/x-musicnet-stream .r3ttext/vnd.rn-realtext3d .ulstext/iuls
.frmapplication/x-frm .mochaapplication/x-javascript .raaudio/vnd.rn-realaudio .vcftext/x-vcard
.g4application/x-g4 .movievideo/x-sgi-movie .ramaudio/x-pn-realaudio .vdaapplication/x-vda
.gbrapplication/x-gbr .mp1audio/mp1 .rasapplication/x-ras .vdxapplication/vnd.visio
.application/x- .mp2audio/mp2 .ratapplication/rat-file .vmltext/xml
.gifimage/gif .mp2vvideo/mpeg .rdftext/xml .vpgapplication/x-vpeg005
.gl2application/x-gl2 .mp3audio/mp3 .recapplication/vnd.rn-recording .vsdapplication/vnd.visio
.gp4application/x-gp4 .mp4video/mpeg4 .redapplication/x-red .vsdapplication/x-vsd
.hglapplication/x-hgl .mpavideo/x-mpg .rgbapplication/x-rgb .vssapplication/vnd.visio
.hmrapplication/x-hmr .mpdapplication/vnd.ms-project .rjsapplication/vnd.rn-realsystem-rjs .vstapplication/vnd.visio
.hpgapplication/x-hpgl .mpevideo/x-mpeg .rjtapplication/vnd.rn-realsystem-rjt .vstapplication/x-vst