curl 分析请求头一(部分)

来源:互联网 发布:淘宝保证金手机怎么退 编辑:程序博客网 时间:2024/05/16 05:20

curl -I http://music.sina.com.cn > 1.txt


HTTP/1.1 200 OK

//请求时间

Date: Sun, 04 Nov 2012 13:41:30 GMT

//请求的服务器

Server: Apache


Set-Cookie: U_TRS1=0000001a.36e754ec.5096708a.be30bfd3; path=/; expires=Wed, 02-Nov-22 13:41:30 GMT; domain=.sina.com.cn

Set-Cookie: U_TRS2=0000001a.36f554ec.5096708a.8a33fd94; path=/; domain=.sina.com.cn

//最后修改时间

Last-Modified: Sun, 04 Nov 2012 10:14:45 GMT


Accept-Ranges: bytes
Content-Length: 110384

Cache-Control: max-age=60

//过期时间

Expires: Sun, 04 Nov 2012 13:42:30 GMT

DPOOL_HEADER: 10.55.22.24

//请求后关闭

Connection: close
Content-Type: text/html
Set-Cookie: BIGipServerpool_dpool2_web2=404108810.20480.0000; path=/
原创粉丝点击