摘要:
Response.ContentType 详细列表不同的ContentType 会影响客户端所看到的效果.默认的ContentType为 text/html 也就是网页格式.代码如:<% response.ContentType ="text/html" %><!--#i nclude virtual="/ContentType.html" -->显示的为网页,而<% response.ContentType ="text/plain" %><!--#i nclude virtual=&quo 阅读全文
摘要:
经常看到有关xml时提到"application/xml" 和 "text/xml"两种类型, 但总是不知道他们有什么区别,上网搜索后,有一段文字提到了两者间的一个关于文字编码的区别,在此做个笔记,原文如下: XML has two MIME types,application/xml and text/xml . These are often used interchangeably, but there is a subtle difference which is why application/xml is generally recommen 阅读全文