一些ContentTyoe

response.setContentType 


Case   "* " 
        .ContentType   =   "application/octet-stream " 
        Case   "323 " 
        .ContentType   =   "text/h323 " 
        Case   "ACX " 
        .ContentType   =   "application/internet-property-stream " 
        Case   "AI " 
        .ContentType   =   "application/postscript " 
        Case   "AIF " 
        .ContentType   =   "audio/x-aiff " 
        Case   "AIFC " 
        .ContentType   =   "audio/x-aiff " 
        Case   "AIFF " 
        .ContentType   =   "audio/x-aiff " 
        Case   "ASF " 
        .ContentType   =   "video/x-ms-asf " 
        Case   "SR " 
        .ContentType   =   "video/x-ms-asf " 
        Case   "SX " 
        .ContentType   =   "video/x-ms-asf " 
        Case   "AU " 
        .ContentType   =   "audio/basic " 
        Case   "AVI " 
        .ContentType   =   "video/x-msvideo " 
        Case   "AXS " 
        .ContentType   =   "application/olescript " 
        Case   "BAS " 
        .ContentType   =   "text/plain " 
        Case   "BCPIO " 
        .ContentType   =   "application/x-bcpio " 
        Case   "BIN " 
        .ContentType   =   "application/octet-stream " 
        Case   "BMP " 
        .ContentType   =   "image/bmp " 
        Case   "C " 
        .ContentType   =   "text/plain " 
        Case   "CAT " 
        .ContentType   =   "application/vnd.ms-pkiseccat " 
        Case   "CDF " 
        .ContentType   =   "application/x-cdf " 
        Case   "CER " 
        .ContentType   =   "application/x-x509-ca-cert " 




Case   "CLASS " 
        .ContentType   =   "application/octet-stream " 
        Case   "CLP " 
        .ContentType   =   "application/x-msclip " 
        Case   "CMX " 
        .ContentType   =   "image/x-cmx " 
        Case   "COD " 
        .ContentType   =   "image/cis-cod " 
        Case   "CPIO " 
        .ContentType   =   "application/x-cpio " 
        Case   "CRD " 
        .ContentType   =   "application/x-mscardfile " 
        Case   "CRL " 
        .ContentType   =   "application/pkix-crl " 
        Case   "CRT " 
        .ContentType   =   "application/x-x509-ca-cert " 
        Case   "CSH " 
        .ContentType   =   "application/x-csh " 
        Case   "CSS " 
        .ContentType   =   "text/css " 
        Case   "DCR " 
        .ContentType   =   "application/x-director " 
        Case   "DER " 
        .ContentType   =   "application/x-x509-ca-cert " 
        Case   "DIR " 
        .ContentType   =   "application/x-director " 
        Case   "DLL " 
        .ContentType   =   "application/x-msdownload " 
        Case   "DMS " 
        .ContentType   =   "application/octet-stream " 
        Case   "DOC " 
        .ContentType   =   "application/msword " 
        Case   "DOT " 
        .ContentType   =   "application/msword " 
        Case   "DVI " 
        .ContentType   =   "application/x-dvi " 
        Case   "DXR " 
        .ContentType   =   "application/x-director " 




Case   "EPS " 
        .ContentType   =   "application/postscript " 
        Case   "ETX " 
        .ContentType   =   "text/x-setext " 
        Case   "EVY " 
        .ContentType   =   "application/envoy " 
        Case   "EXE " 
        .ContentType   =   "application/octet-stream " 
        Case   "FIF " 
        .ContentType   =   "application/fractals " 
        Case   "FLR " 
        .ContentType   =   "x-world/x-vrml " 
        Case   "GIF " 
        .ContentType   =   "image/gif " 
        Case   "GTAR " 
        .ContentType   =   "application/x-gtar " 
        Case   "GZ " 
        .ContentType   =   "application/x-gzip " 
        Case   "H " 
        .ContentType   =   "text/plain " 
        Case   "HDF " 
        .ContentType   =   "application/x-hdf " 
        Case   "HLP " 
        .ContentType   =   "application/winhlp " 
        Case   "HQX " 
        .ContentType   =   "application/mac-binhex40 " 
        Case   "HTA " 
        .ContentType   =   "application/hta " 
        Case   "HTC " 
        .ContentType   =   "text/x-component " 
        Case   "HTM " 
        .ContentType   =   "text/html " 
        Case   "HTML " 
        .ContentType   =   "text/html " 
        Case   "HTT " 
        .ContentType   =   "text/webviewhtml " 
        Case   "ICO " 
        .ContentType   =   "image/x-icon " 
        Case   "IEF " 
        .ContentType   =   "image/ief " 
        Case   "III " 
        .ContentType   =   "application/x-iphone " 
        Case   "INS " 
        .ContentType   =   "application/x-internet-signup " 
        Case   "ISP " 
        .ContentType   =   "application/x-internet-signup " 
        Case   "JFIF " 
        .ContentType   =   "image/pipeg " 
        Case   "JPE " 
        .ContentType   =   "image/jpeg " 
        Case   "JPEG " 
        .ContentType   =   "image/jpeg "
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值