curl -I url 是只取 server 的回应,不含内容, 如
user@minix-nb:~$ curl -I
http://www.baidu.comHTTP/1.1 200 OK
Date: Wed, 16 Sep 2009 11:16:23 GMT
Server: BWS/1.0
Content-Length: 3509
Content-Type: text/html
Cache-Control: private
Expires: Wed, 16 Sep 2009 11:16:23 GMT
Set-Cookie: BAIDUID=0EC3F02D099D83B4EDA0C65E09A487D6:FG=1; expires=Wed, 16-Sep-39 11:16:23 GMT; path=/; domain=.baidu.com
P3P: CP=" OTI DSP COR IVA OUR IND COM "
ok? :)