Request.ContentType页面输出方式Gets or sets the MIME content type of the incoming request
来源:互联网 发布:欧文17常规赛数据 编辑:程序博客网 时间:2024/05/21 13:53
http://msdn.microsoft.com/en-us/library/5d5940ad(v=VS.100).aspx
books.xml:
一:
Response.ContentEncoding = System.Text.Encoding.UTF8;
Response.ContentType = "text/plain";
结果:
二:
Response.ContentEncoding = System.Text.Encoding.Unicode;
Response.ContentType = "text/html";
结果:
首都图书馆
朝阳区华威桥南00000001Xml初学ddd人民出版社100.540002XSD定义子弟子弟出版社2010-05-0-18102.54
附:
ContentType类型
“.*“=“application/octet-stream“
“.001“=“application/x-001“
“.301“=“application/x-301“
“.323“=“text/h323“
“.906“=“application/x-906“
“.907“=“drawing/907“
“.a11“=“application/x-a11“
“.acp“=“audio/x-mei-aac“
“.ai“=“application/postscript“
“.aif“=“audio/aiff“
“.aifc“=“audio/aiff“
“.aiff“=“audio/aiff“
“.anv“=“application/x-anv“
“.asa“=“text/asa“
“.asf“=“video/x-ms-asf“
“.asp“=“text/asp“
“.asx“=“video/x-ms-asf“
“.au“=“audio/basic“
“.avi“=“video/avi“
“.awf“=“application/vnd.adobe.workflow“
“.biz“=“text/xml“
“.bmp“=“application/x-bmp“
“.bot“=“application/x-bot“
“.c4t“=“application/x-c4t“
“.c90“=“application/x-c90“
“.cal“=“application/x-cals“
“.cat“=“application/vnd.ms-pki.seccat“
“.cdf“=“application/x-netcdf“
“.cdr“=“application/x-cdr“
“.cel“=“application/x-cel“
“.cer“=“application/x-x509-ca-cert“
“.cg4“=“application/x-g4“
“.cgm“=“application/x-cgm“
“.cit“=“application/x-cit“
“.class“=“java/*“
“.cml“=“text/xml“
“.cmp“=“application/x-cmp“
“.cmx“=“application/x-cmx“
“.cot“=“application/x-cot“
“.crl“=“application/pkix-crl“
“.crt“=“application/x-x509-ca-cert“
“.csi“=“application/x-csi“
“.css“=“text/css“
“.cut“=“application/x-cut“
“.dbf“=“application/x-dbf“
“.dbm“=“application/x-dbm“
“.dbx“=“application/x-dbx“
“.dcd“=“text/xml“
“.dcx“=“application/x-dcx“
“.der“=“application/x-x509-ca-cert“
“.dgn“=“application/x-dgn“
“.dib“=“application/x-dib“
“.dll“=“application/x-msdownload“
“.doc“=“application/msword“
“.dot“=“application/msword“
“.drw“=“application/x-drw“
“.dtd“=“text/xml“
“.dwf“=“Model/vnd.dwf“
“.dwf“=“application/x-dwf“
“.dwg“=“application/x-dwg“
“.dxb“=“application/x-dxb“
“.dxf“=“application/x-dxf“
“.edn“=“application/vnd.adobe.edn“
“.emf“=“application/x-emf“
“.eml“=“
- Request.ContentType页面输出方式Gets or sets the MIME content type of the incoming request
- the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is
- Request for the permission of type 'SecurityPermission' failed.
- the table of content-type
- How does the Spring MVC determine the type of a given request parameter
- RFC1341(MIME): 7 The Multipart Content-Type英译中
- The literal 9999999999 of type int is out of range 或 400(rad request)
- Passed contentType will be ignored because HttpEntity sets content type
- request for the permission of type system.net.webpermission ....... is failed
- Request for the permission of type 'System.Data.SqlClient.SqlClientPermission failed
- System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermi
- JSP页面中的request.getContextPath()出现“ .... .. refers to the missing type String”错误
- JSP页面中的request.getContextPath()出现“ .... .. refers to the missing type String”错误 .
- JSP页面中的request.getContextPath()出现“ .... .. refers to the missing type String”错误
- Request failed: unacceptable content-type: text/plain
- Post request with different Content-Type
- Request failed: unacceptable content-type: text/html
- Request failed: unacceptable content-type: text/html
- Asterisk behinds NAT
- 如何把字符串str转成ArrayList ?
- 管理软件的秘密
- Ext中grid删除记录
- vs2005中去除Enable3dControls警告
- Request.ContentType页面输出方式Gets or sets the MIME content type of the incoming request
- 小事例
- Asterisk的SIP type和身份认证
- 程序运行时切换语言
- Asterisk对SIP的验证
- (转)CGI工作原理及其WEB服务器开发
- Java Timer 对象创建后使用Timer更改其属性!!!
- Executing A Jira Filter
- Socket Select