Curl http_code 状态码 意义及信息
来源:互联网 发布:java 高并发 抢购 编辑:程序博客网 时间:2024/06/11 11:37
转自: http://blog.163.com/qingfeng_0105@126/blog/static/75062738201281071247149/
shell命令:curl -I -m 10 -o /dev/null -s -w %{http_code} http://test.com
curl爬取过程中,会返回一个http_code,下面是他们的意义信息$http_code["0"]="Unable to access";
$http_code["100"]="Continue";
$http_code["101"]="Switching Protocols";
$http_code["200"]=”OK”;
$http_code["201"]=”Created”;
$http_code["202"]=”Accepted”;
$http_code["203"]=”Non-Authoritative Information”;
$http_code["204"]=”No Content”;
$http_code["205"]=”Reset Content”;
$http_code["206"]=”Partial Content”;
$http_code["300"]=”Multiple Choices”;
$http_code["301"]=”Moved Permanently”;
$http_code["302"]=”Found”;
$http_code["303"]=”See Other”;
$http_code["304"]=”Not Modified”;
$http_code["305"]=”Use Proxy”;
$http_code["306"]=”(Unused)”;
$http_code["307"]=”Temporary Redirect”;
$http_code["400"]=”Bad Request”;
$http_code["401"]=”Unauthorized”;
$http_code["402"]=”Payment Required”;
$http_code["403"]=”Forbidden”;
$http_code["404"]=”Not Found”;
$http_code["405"]=”Method Not Allowed”;
$http_code["406"]=”Not Acceptable”;
$http_code["407"]=”Proxy Authentication Required”;
$http_code["408"]=”Request Timeout”;
$http_code["409"]=”Conflict”;
$http_code["410"]=”Gone”;
$http_code["411"]=”Length Required”;
$http_code["412"]=”Precondition Failed”;
$http_code["413"]=”Request Entity Too Large”;
$http_code["414"]=”Request-URI Too Long”;
$http_code["415"]=”Unsupported Media Type”;
$http_code["416"]=”Requested Range Not Satisfiable”;
$http_code["417"]=”Expectation Failed”;
$http_code["500"]=”Internal Server Error”;
$http_code["501"]=”Not Implemented”;
$http_code["502"]=”Bad Gateway”;
$http_code["503"]=”Service Unavailable”;
$http_code["504"]=”Gateway Timeout”;
$http_code["505"]=”HTTP Version Not Supported”;
- Curl http_code 状态码 意义及信息
- curl http_code 状态码 意义及信息
- http状态码大全(HTTP Status Code) Curl http_code 状态码 意义
- http状态码查询 http_code状态码大全《详细》
- HTTP协议响应状态码及意义
- HTTP常见状态码及表示意义
- CURL状态码列表
- Curl状态码列表
- CURL状态码列表
- curl命令去除所有的状态信息
- 面试经典题库:常见http状态码及意义
- TCP连接状态及表示意义
- curl 获取最后一次传输的http_code的应用和解决请求并发的问题
- PHP curl 获取响应的状态码
- shell curl http状态码获取
- curl 取得HTTP返回的状态码
- DCD、DTR、DSR、RTS及CTS状态指示的意义
- Web开发常用HTTP状态代码及意义
- Sun如何处理PostgreSQL和Java DB?
- Zookeeper入门指南
- 字符编码问题,UNICODE\UTF-8\UTF-16\UTF-32\UCS\ANSI\GBK\GB2312等乱七八糟的名词
- HTML组合网页(框架组合网页)
- python模块安装:numpy、pylab(转)
- Curl http_code 状态码 意义及信息
- OCP-1Z0-052-V8.02-102题
- java.lang.NoSuchMethodError: org.springframework.web.context.support.XmlWebApplicationContext.getEnv
- android 检测网速
- A Summary of how to produce American F and V sounds
- 内存对齐
- 电子商务的未来
- MiniDao普通项目集成方案
- CSS定义网页背景时一定要注意这个小问题