1

firefox はヘッダーを送信しません: if-modified-since 後、応答から Last-modified を受け取りました。例: Firefoxの webviewで Web サイトを読み込んで、このページを数回読み込んだ後、コンソールで F12 を押します。スクリーンショットの下に表示されます。

Response :
Age 123613
Cache-Control   public, max-age=31536000
Content-Length  93868
Content-Type    text/javascript; charset=UTF-8
Date    Fri, 16 Mar 2012 04:17:48 GMT
Expires Thu, 24 May 2012 14:47:48 GMT
Last-Modified   Wed, 23 Nov 2011 21:10:59 GMT
Server  sffe
Vary    Accept-Encoding
Via 1.1 HSPROXY08
Warning 113 HSPROXY08  
X-Content-Type-Options  nosniff
X-XSS-Protection    1; mode=block

Request:
Accept  */*
Accept-Encoding gzip, deflate
Accept-Language zh-cn,zh;q=0.5
Host    ajax.googleapis.com
Proxy-Connection    keep-alive
Referer https://stackoverflow.com/questions/5066087/load-a-website-in-webview
User-Agent  Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

リクエストヘッダーに「if-modified-since」がないのはなぜですか?

レスポンスのステータスコードは 304 のはずだと思っていたのですが、200 です。

ありがとう..

4

0 に答える 0