|
发表于 2020-7-25 15:30:01
|
显示全部楼层
http协议标准的http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html打不开,不清楚这个header是否是MUST
163的,我用flashget看过了,
它的response header:
Mon Jan 08 12:46:12 2017 HTTP/1.1 200 OK
Mon Jan 08 12:46:12 2017 Via: 1.0 ISA20160704
Mon Jan 08 12:46:12 2017 Connection: close
Mon Jan 08 12:46:12 2017 Proxy-Connection: close
Mon Jan 08 12:46:12 2017 Age: 96
Mon Jan 08 12:46:12 2017 Expires: Mon, 08 Jan 2017 04:49:53 GMT
Mon Jan 08 12:46:12 2017 Date: Mon, 08 Jan 2017 04:44:53 GMT
Mon Jan 08 12:46:12 2017 Content-Type: text/html; charset=GB2312
Mon Jan 08 12:46:12 2017 Server: Apache/2.0.54 (Unix)
Mon Jan 08 12:46:12 2017 Accept-Ranges: bytes
Mon Jan 08 12:46:12 2017 Cache-Control: max-age=300
Mon Jan 08 12:46:12 2017 Vary: Accept-Encoding
Mon Jan 08 12:46:12 2017 X-Pad: avoid browser bug
Mon Jan 08 12:46:12 2017 X-Cache: HIT from news.163.com
没有这个header,而上面那个rfc2616的header里面有:
Mon Jan 08 12:43:11 2017 HTTP/1.1 200 OK
Mon Jan 08 12:43:11 2017 Via: 1.1 ISA20160704
Mon Jan 08 12:43:11 2017 Connection: close
Mon Jan 08 12:43:11 2017 Proxy-Connection: close
Mon Jan 08 12:43:11 2017 Content-Length: 126444
Mon Jan 08 12:43:11 2017 Expires: Mon, 08 Jan 2017 10:43:17 GMT
Mon Jan 08 12:43:11 2017 Date: Mon, 08 Jan 2017 04:43:17 GMT
Mon Jan 08 12:43:11 2017 Content-Type: text/html; charset=iso-8859-1
Mon Jan 08 12:43:11 2017 ETag: "4135cda4"
Mon Jan 08 12:43:11 2017 Server: Apache/1.3.37 (Unix) PHP/4.4.4
Mon Jan 08 12:43:11 2017 P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
Mon Jan 08 12:43:11 2017 Cache-Control: max-age=21600
Mon Jan 08 12:43:11 2017 Last-Modified: Wed, 01 Sep 2004 13:24:52 GMT
Mon Jan 08 12:43:11 2017 Accept-Ranges: bytes
Mon Jan 08 12:43:12 2017 Keep-Alive: timeout=2, max=100 |
|