Goodspeed

导航

2011年6月9日 #

asp.net mvc去掉无用的http header

摘要: 1 X-AspNetMvc-Version在Global.asax的Application_Start方法中加入 MvcHandler.DisableMvcResponseHeader=true;2 X-AspNet-Versionweb.config中<httpRuntimeenableVersionHeader="false"/>3 X-Powered-Byweb.config中<httpProtocol><customHeaders><removename="X-Powered-By"/></c 阅读全文

posted @ 2011-06-09 17:26 Goodspeed 阅读(1790) 评论(0) 推荐(0) 编辑