首页 > 代码库 > response.setcontenttype的参数

response.setcontenttype的参数

码农写了这么长时间的web程序,都没搞清楚response的setContentType有那些参数,差了下,居然有这么多参数,好吧,无知了。

image/bmp BMP

 image/gifGIF
image/jpegJPEG
image/tiffTIFF
image/x-dcxDCX
image/x-pcxPCX
text/htmlHTML
text/plainTXT
text/xmlXML
application/afpAFP
application/pdfPDF
application/rtfRTF
application/mswordMSWORD
application/vnd.ms-excelMSEXCEL
application/vnd.ms-powerpointMSPOWERPOINT
application/wordperfect5.1WORDPERFECT
application/vnd.lotus-wordproWORDPRO
application/vnd.visioVISIO
application/vnd.framemakerFRAMEMAKER
application/vnd.lotus-1-2-3LOTUS123
application/octet-stream 信息流