proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« eval 把参数组合成命令再执行 | Main | 网易推出免费域名邮箱 谷歌微软网易搜狐四家邮局服务综述 »

October 20, 2006

wget --spider 取 HTTP 返回值

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2006/10/20/001117.html
http://windtear.net/archives/2006/10/20/001117.html

wget --spider 取 HTTP 返回值

wget --spider 看返回值
如: 200 304 403 404 ...

HTTP request sent, awaiting response... 200 OK
Length: 1,494 [text/html]
200 OK

HTTP request sent, awaiting response... 404 Not Found
17:41:50 ERROR 404: Not Found.

--save-headers 可以保存时增加 HTTP Response Header

curl -I/--head 看详细的 HTTP Response Header  (相当于 HEAD method)
-w/--write-out %http_code%
本blog WWW

Posted by windtear at October 20, 2006 8:42 PM

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2024 Windtear. All rights reserved.