小樱 发表于 2015/4/23 19:42

linux 下利用curl获取页面HTTP状态查询,查询网站放回头部信息

curl -I http://1.itzmx.com/filestores/2015/03/02//fb49f8505c2b9c072d2249dc0c9d8b73.mp3

HTTP/1.1 200 OK
Date: Thu, 23 Apr 2015 11:33:44 GMT
Content-Type: audio/mpeg
Content-Length: 2649904
Connection: keep-alive
Set-Cookie: __cfduid=d3b8f7f878005fd16c977f1d236dc64511429788824; expires=Fri, 22-Apr-16 11:33:44 GMT; path=/; domain=.itzmx.com; HttpOnly
Last-Modified: Mon, 02 Mar 2015 11:00:19 GMT
CF-Cache-Status: HIT
Expires: Fri, 22 Apr 2016 11:33:44 GMT
Cache-Control: public, max-age=31536000
Server: yunjiasu-nginx
CF-RAY: 1db9415752bd1b6c-TSN


随便活埋 发表于 2015/4/23 19:42

页: [1]
查看完整版本: linux 下利用curl获取页面HTTP状态查询,查询网站放回头部信息