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. [Git] Github上传新repository后自动合并

    原因是新repository中有个与老repository一模一样的名字为".git"的隐藏文件夹,删去后即可: 将整个工程直接复制粘贴出此错误...好蠢: Github控制项目的 ...

  2. mysql 表设计

  3. spark 启动时候报 Unable to load native-hadoop library for your platform 警告

    hadoop2.6.4 jdk1.8 spark2.0.1 方案1: 在spark的conf目录下,修改spark-env.sh文件加入LD_LIBRARY_PATH环境变量,值为hadoop的nat ...

  4. 公司框架将入参Map化

    1.Map<String,Object> map = BeanUtil.describe(inDto);

  5. 深入浅出node(4) 异步编程

    一)函数式编程基础 二)异步编程的优势和难点 2.1 优势 2.2 难点 2.2.1 异常处理 2.2.2 函数嵌套过深 2.2.3 阻塞 2.2.4 多线程编程 2.2.5 异步转同步 三)异步编程 ...

  6. iOS开发总结-图片左右滑动浏览

    // // PicViewController.m // BJ // // Created by shirenfeng on 16/9/13. // Copyright © 2016年 com.zyb ...

  7. (使用步骤)ThinkPHP3.1.2中如何配置Ckeditor_4.1.1和Ckfindtor(转)

    ThinkPHP3.1.2中如何配置Ckeditor_4.1.1和Ckfindtor  一.下载Ckeditor和Ckfinder Ckeditor官网 http://ckeditor.com/dow ...

  8. 如何vs升级后10和12都能同时兼容

    如图: 项目2008解决方案sln文件升级2012后,都能同时使用. 升级办法:先复制vs2008版本的解决方案文件.升级2012后,再将文件复制到目录里面即可.注意升级过程中产生的升级文件(Upgr ...

  9. change buffer

    https://yq.aliyun.com/articles/222 change buffer: insert buffer delete buffer purge buffer 1.innodb_ ...

  10. Tomcat7.0.40 基于DataSourceRealm的和JDBCRealm的资源用户访问控制

    软件版本: Tomcat 7.0.40 Mysql: 5.1 Host: CentOS 6.3 64bit 使用JDBCRealm (Tomcat 会使用所给的JDBC Connecter 自己去连M ...