Asp. NET with RewritePath redirection, the HTTP headers of the server response are multiple content-location:
Copy Code code as follows:
http/1.1 OK
content-length:48150
Content-type:image/jpeg
Content-location:http://www.mzwu.com/test.jpg
Last-modified:tue, Dec 15:01:50 GMT
Accept-ranges:bytes
ETag: "E119ee9b30ddcd1:1c48"
server:microsoft-iis/6.0
X-powered-by:asp.net
Date:mon, Sep 2014 01:29:40 GMT
Content-location value redirect file for the true path, in some cases we do not want to let the client know the path, there is a way to remove it? Can't go away, but you can manually set an HTTP header with the same name to the Web site in IIS to hide the true path:
Now the effect is as follows
Copy Code code as follows:
http/1.1 OK
content-length:48150
Content-type:image/jpeg
Content-location:mzwu.com
Last-modified:tue, Dec 15:01:50 GMT
Accept-ranges:bytes
ETag: "E119EE9B30DDCD1:1C58"
server:microsoft-iis/6.0
X-powered-by:asp.net
Date:mon, Sep 2014 01:42:50 GMT