HTTPヘッダの確認

-Sと--spiderをつければwgetでHTTPヘッダの確認が出来る。

$ wget -S --spider http://www.google.co.jp

--16:05:08--  http://www.google.co.jp/
           => `index.html'
Resolving www.google.co.jp... 66.249.89.104, 66.249.89.99, 66.249.89.147
Connecting to www.google.co.jp|66.249.89.104|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.0 200 OK
  Cache-Control: private
  Content-Type: text/html; charset=Shift_JIS
  Set-Cookie: PREF=ID=d542de28c4ba35ab:TM=1190963000:LM=1190963000:S=UHyJxaPuHeRlYSRp; expires=Sun, 27-Sep-2009 07:03:20 GMT; path=/; domain=.google.co.jp
  Server: gws
  Content-Length: 0
  Date: Fri, 28 Sep 2007 07:03:21 GMT
  Connection: Keep-Alive
Length: 0 [text/html]
200 OK