Reprint: http://www.cnblogs.com/CareySon/archive/2009/12/14/1623624.html
In order to see the HTTP header that communicates between the server and the browser, you need to install some plugins in the browser. For example, Fiddler is a free software released by Microsoft for logging HTTP logs. And these HTTP logs will contain HTTP headers, in this article I will assume that the reader is already familiar with the software, if you are not familiar with the software, I recommend reading troubleshooting Website problems by examining the HTTP Traffic, this article explains in detail how to install & Use Fiddler.
Using Fiddler, find a Web server that uses IIS and ASP. NET, such as the official Microsoft Web site, usually by default, the HTTP response header contains the 3 Web server's own identity header.
- Server-Specify which server and server version, such as:
- server:microsoft-iis/6/0
- server:microsoft-iis/7.0
- X-powered-by, used to indicate that this site is "Powered by ASP."
- X-aspnet-version, which specifies the current ASP. Note that even if you use ASP. X-aspnet-version, you may report that you are using 2.0:
- x-aspnet-version:2.0.50727
- x-aspnet-version:1.1.4322
- X-ASPNETMVC, specify the current version of ASP. NET MVC (if you use ASP.):
These server self-identifying information is not used by the browser in most cases, so it can be safely removed, and the remainder of this article will tell you how to remove these HTTP headers
Removing unnecessary HTTP response headers in ASP.