博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
curl http_code状态码 含义
阅读量:4677 次
发布时间:2019-06-09

本文共 1595 字,大约阅读时间需要 5 分钟。

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”;

 

转载于:https://www.cnblogs.com/timelesszhuang/p/4837530.html

你可能感兴趣的文章
线上服务故障处理原则
查看>>
孪生兄弟状态模式与策略模式有什么区别,究竟该如何选择
查看>>
ヘルプ
查看>>
centos7 添加开机启动项
查看>>
luogu【P2745】[USACO5.3]窗体面积Window Area
查看>>
Codeforces 346D Robot Control(01BFS)
查看>>
CSS3学习笔记--media query 响应式布局
查看>>
NHibernate.3.0.Cookbook第四章第2节的翻译
查看>>
19.C#逐一介绍IEnumerable和IEnumerable<T>中的扩展方法(10.3-10.5)
查看>>
听说最近你读过不少书
查看>>
linux之Ubuntu下Django+uWSGI+nginx部署
查看>>
【转】Struts1.x系列教程(2):简单的数据验证
查看>>
HTML head元素
查看>>
requireJS
查看>>
Poj3667Hotel线段树
查看>>
待嫁闺中:PPTV的辛酸史
查看>>
作用域
查看>>
CSS文本方向
查看>>
Dev Grid拖拽移动行
查看>>
Read
查看>>