curl爬取过程中,会返回一个http_code,下面是他们的意义信息
$http_code[""]="Unable to access";
$http_code[""]="Continue";
$http_code[""]="Switching Protocols";
$http_code[""]=”OK”;
$http_code[""]=”Created”;
$http_code[""]=”Accepted”;
$http_code[""]=”Non-Authoritative Information”;
$http_code[""]=”No Content”;
$http_code[""]=”Reset Content”;
$http_code[""]=”Partial Content”;
$http_code[""]=”Multiple Choices”;
$http_code[""]=”Moved Permanently”;
$http_code[""]=”Found”;
$http_code[""]=”See Other”;
$http_code[""]=”Not Modified”;
$http_code[""]=”Use Proxy”;
$http_code[""]=”(Unused)”;
$http_code[""]=”Temporary Redirect”;
$http_code[""]=”Bad Request”;
$http_code[""]=”Unauthorized”;
$http_code[""]=”Payment Required”;
$http_code[""]=”Forbidden”;
$http_code[""]=”Not Found”;
$http_code[""]=”Method Not Allowed”;
$http_code[""]=”Not Acceptable”;
$http_code[""]=”Proxy Authentication Required”;
$http_code[""]=”Request Timeout”;
$http_code[""]=”Conflict”;
$http_code[""]=”Gone”;
$http_code[""]=”Length Required”;
$http_code[""]=”Precondition Failed”;
$http_code[""]=”Request Entity Too Large”;
$http_code[""]=”Request-URI Too Long”;
$http_code[""]=”Unsupported Media Type”;
$http_code[""]=”Requested Range Not Satisfiable”;
$http_code[""]=”Expectation Failed”;
$http_code[""]=”Internal Server Error”;
$http_code[""]=”Not Implemented”;
$http_code[""]=”Bad Gateway”;
$http_code[""]=”Service Unavailable”;
$http_code[""]=”Gateway Timeout”;
$http_code[""]=”HTTP Version Not Supported”;

curl http_code状态码 含义的更多相关文章

  1. curl http_code 状态码

    1.只得到一个url的http_code的状态码 curl -I -m 10 -o /dev/null -s -w %{http_code} http://127.0.0.1/a.html 查询hea ...

  2. Curl http_code 状态码 意义及信息

    shell命令:curl -I -m 10 -o /dev/null -s -w %{http_code} http://test.com curl_init — 初始化一个curl会话curl_co ...

  3. LODOP获取打印机状态码和状态码含义测试

    由于打印机千差万别,打印机执行的标准也不一样,LODOP获取的打印状态码也可能不同,安装了个打印机驱动实际测试一下,测试的打印机驱动是Brother Color Type3 Class Driver. ...

  4. 网页中常见返回HTTP状态码含义

    在日常网页浏览的过程中大家经常会碰到400,403,404,500,502等HTTP状态码,这些状态码对于一般用户来说出现什么都是一样的,反正就是页面打不开了,但是作为网站开发人员或者从事相关工作者认 ...

  5. http 状态码含义

    HTTP状态码被分为五大类, 目前我们使用的HTTP协议版本是1.1, 支持以下的状态码.随着协议的发展,HTTP规范中会定义更多的状态码. 小技巧: 假如你看到一个状态码518, 你并不知道具体51 ...

  6. http协议常见状态码含义

    状态码有三位数字组成,第一个数字定义了响应的类别,且有五种可能取值: 2xx:成功--表示请求已被成功接收.理解.接受 200(成功)  服务器已成功处理了请求.通常,这表示服务器提供了请求的网页. ...

  7. HTTP状态码--含义

    以下是HTTP状态码(HTTP Status Code)及其解释 1xx(临时响应) (继续) 请求者应当继续提出请求. 服务器返回此代码表示已收到请求的第一部分,正在等待其余部分. (切换协议) 请 ...

  8. http返回状态码含义

    http返回状态码 http状态码 200 2开头的都表示这个请求发送成功,最常见的就是200,就代表这个请求是ok的,服务器也返回了. 300 3开头的代表重定向,最常见的是302,把这个请求重定向 ...

  9. http statusCode(状态码)含义

    201-206都表示服务器成功处理了请求的状态代码,说明网页可以正常访问. 200(成功) 服务器已成功处理了请求.通常,这表示服务器提供了请求的网页. 201(已创建) 请求成功且服务器已创建了新的 ...

随机推荐

  1. [转]关于strtok和strtok_r函数的深度研究

    在linux环境下,字符串分割的函数中,大家比较常用的是strtok函数,这个函数用处很大,但也有一些问题,以下将深度挖掘一下这个函数的用法,原理,实现,其次,该函数是不可再入函数,但是在linux ...

  2. SRM 389(1-250pt)

    题意:按一定方法生成n个分数,求他们的和.n <= 20 解法:暴力.我只是没想到,10000^20用double算也能被接受0 0 tag:brute-force // BEGIN CUT H ...

  3. Ural 1332 把圆细分+圆内切,内含关系判定

    题目链接:http://acm.timus.ru/problem.aspx?space=1&num=1332 #include<cstdio> #include<cstrin ...

  4. CentOS 6.5 下安装 Redis 2.8.7(转)

    转自:http://www.cnblogs.com/haoxinyue/p/3620648.html CentOS 6.5 下安装 Redis 2.8.7 wget http://download.r ...

  5. Corn Fields - POJ 3254(状态压缩)

    题目大意:有一个M*N的牧场,G(i, j) = 1表示这块地营养丰富,可以喂养牛,等于0表示贫瘠,不能喂养牛,所有的牛都讨厌与别的牛相邻,求有多少种放置牛的方式. 分析:算是炮兵那个题的弱化版吧,先 ...

  6. myeclipse svn

    打开myeclipse的help---install from site 点击add弹出对话框 在输入框中输入对应内容 http://subclipse.tigris.org/update_1.10. ...

  7. Python基础知识--列表和集合

    列表:有序性,可以存放任意类型的对象,通过索引访问,可以分片操作 >>> L = ['id', 1000, 'scd', 1000, 'scd'] >>> L [' ...

  8. java websockect

    https://github.com/TooTallNate/Java-WebSocket (websockect类库包) http://blog.openlg.net/index.php/archi ...

  9. Linq中Union与Contact方法用法对比

    文章一开始,我们来看看下面这个简单的实例. 代码片段1: int[] ints1 = { 2, 4, 9, 3, 0, 5, 1, 7 }; int[] ints2 = { 1, 3, 6, 4, 4 ...

  10. [iOS 开发]UITableView第一行显示不完全

    造成这个问题的原因可能有两个: 1. UITableView的contentOffset属性的改变: 2. MJRefresh调用两次headerEndRefreshing会造成刷新后UITableV ...