(1)第1步:首次请求后,网络服务器响应:
HTTP/1.0 200 OK Date: Mon, 14 Jan 2013 02:20:51 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-Powered-By: PHP/5.2.8 Cache-Control: max-age=0 ETag: "LV50F29509" Content-Type: text/html; charset=UTF-8 X-Frame-Options: DENY X-Lvmi-Encoding: 16544/51562, 33% Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 16544 X-Cache: MISS from test.abc.com X-Cache-Lookup: MISS from test.abc.com:80 Via: 1.0 test.abc.com (squid/3.0.STABLE20) Connection: keep-alive
(2)第2步:点击页面中的链接(链接到页面本身),IE请求:
GET /film HTTP/1.1 Accept: / Referer: http://www.test.com/film Accept-Language: zh-cn Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; EmbeddedWB 14.52 from: http://www.bsalsa.com/ EmbeddedWB 14.52; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Host: www.test.com Connection: Keep-Alive Cookie: CX=1024; CY=712; ID=TEST
我的问题:为什么IE(8.0)不要求“If-None-Match”?
答案 0 :(得分:0)
这是一个相当古老的问题,但我认为指向以下网址可能会很有趣:w3 - HTTP Etags and Friends
您引用的强etag似乎是HTTP / 1.1功能。问题可能是IE是否因为HTTP / 1.0响应而考虑这个问题?!你在此期间解决了你的问题吗?