Linux curl 刺探网页使用的Webserver

curl -I www.163.com

HTTP/1.1 200 OK
Expires: Sun, 26 Aug 2012 18:08:22 GMT
Date: Sun, 26 Aug 2012 18:07:02 GMT
Server: nginx
Content-Type: text/html; charset=GBK
Transfer-Encoding: chunked
Vary: Accept-Encoding
Cache-Control: max-age=80
Vary: User-Agent
Vary: Accept
Age: 42
X-Via: 1.1 stsz69:8104 (Cdn Cache Server V2.0), 1.1 dg60:8107 (Cdn Cache Server V2.0)
Connection: keep-alive

#############

curl -I localhost

HTTP/1.1 200 OK
Server: nginx/1.0.15
Date: Mon, 20 Aug 2012 16:29:35 GMT
Content-Type: text/html
Connection: keep-alive
Vary: Accept-Encoding
Last-Modified: Mon, 20 Aug 2012 08:44:17 GMT
ETag: "a43a4-856-4c7ae83d73a40"
Accept-Ranges: bytes
Content-Length: 2134

你可能感兴趣的:(c,linux,Date,server,cache,sun)