1XX : 通知信息。请求被接收,继续处理
2XX : 成功。请求动作被成功接收、理解和接受
3XX : 重定向。需要其他的动作来完成这个请求
4XX : 客户端错误。请求包含错误的语法或者缺少语法
5XX : 服务端错误。服务端无法完成有效的请求

上述状态码在HTTP/1.1中定义,下面是一组相关的错误原因。

1XX

100 ; Section 10.1.1: Continue
101 ; Section 10.1.2: Switching Protocols

2XX

200 ; Section 10.2.1: OK
201 ; Section 10.2.2: Created
202 ; Section 10.2.3: Accepted
203 ; Section 10.2.4: Non-Authoritative Information
204 ; Section 10.2.5: No Content
205 ; Section 10.2.6: Reset Content
206 ; Section 10.2.7: Partial Content

3XX

300 ; Section 10.3.1: Multiple Choices
301 ; Section 10.3.2: Moved Permanently
302 ; Section 10.3.3: Found
303 ; Section 10.3.4: See Other
304 ; Section 10.3.5: Not Modified
305 ; Section 10.3.6: Use Proxy
307 ; Section 10.3.8: Temporary Redirect

4XX

400 ; Section 10.4.1: Bad Request
401 ; Section 10.4.2: Unauthorized
402 ; Section 10.4.3: Payment Required
403 ; Section 10.4.4: Forbidden
404 ; Section 10.4.5: Not Found
405 ; Section 10.4.6: Method Not Allowed
406 ; Section 10.4.7: Not Acceptable
407 ; Section 10.4.8: Proxy Authentication Required
408 ; Section 10.4.9: Request Time-out
409 ; Section 10.4.10: Conflict
410 ; Section 10.4.11: Gone
411 ; Section 10.4.12: Length Required
412 ; Section 10.4.13: Precondition Failed
413 ; Section 10.4.14: Request Entity Too Large
414 ; Section 10.4.15: Request-URI Too Large
415 ; Section 10.4.16: Unsupported Media Type
416 ; Section 10.4.17: Requested range not satisfiable
417 ; Section 10.4.18: Expectation Failed

5XX

500 ; Section 10.5.1: Internal Server Error
501 ; Section 10.5.2: Not Implemented
502 ; Section 10.5.3: Bad Gateway
503 ; Section 10.5.4: Service Unavailable
504 ; Section 10.5.5: Gateway Time-out
505 ; Section 10.5.6: HTTP Version not supported

From: http://www.lvzejun.cn/2015/04/13/libvirt1md/

HTTP Response中的Status-Code的更多相关文章

  1. WCF REST开启Cors 解决 No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. The response had HTTP status code 405.

    现象: 编写了REST接口: [ServiceContract] public interface IService1 { [OperationContract] [WebInvoke(UriTemp ...

  2. HTTP 1.0 Status Code Definitions

    part of Hypertext Transfer Protocol -- HTTP/1.1RFC 2616 Fielding, et al. 10 Status Code Definitions ...

  3. C#、JAVA操作Hadoop(HDFS、Map/Reduce)真实过程概述。组件、源码下载。无法解决:Response status code does not indicate success: 500。

    一.Hadoop环境配置概述 三台虚拟机,操作系统为:Ubuntu 16.04. Hadoop版本:2.7.2 NameNode:192.168.72.132 DataNode:192.168.72. ...

  4. Js 跨域CORS报错 Response for preflight has invalid HTTP status code 405

    问题 公司项目H5调用接口遇到Response for preflight has invalid HTTP status code 405这样的错误,是使用PUT方式提交请求接口.Content-T ...

  5. 转 Js 跨域CORS报错 Response for preflight has invalid HTTP status code 405

    转自:http://www.cnblogs.com/SilenceTom/p/6697484.html 调用接口遇到Response for preflight has invalid HTTP st ...

  6. INFO: Ignoring response <403 https://movie.douban.com/top250>: HTTP status code is not handled or not allowed

    爬取豆瓣电影top250,出现以下报错: 2018-08-11 22:02:16 [scrapy.core.engine] INFO: Spider opened 2018-08-11 22:02:1 ...

  7. C# 移除Response Header,403调整返回为404Make IIS return a 404 status code instead of 403

    Server Information Revealed For the benefit of those who land here through a google/bing search:: He ...

  8. 解决爬虫浏览器中General显示 Status Code:304 NOT MODIFIED,而在requests请求时出现403被拦截的情况。

    在此,非常感谢 “完美风暴4” 的无私共享经验的精神    在Python爬虫爬取网站时,莫名遇到 浏览器中General显示  Status Code: 304 NOT MODIFIED 而在req ...

  9. Heritrix源码分析(十) Heritrix中的Http Status Code(Http状态码)(转)

    本博客属原创文章,欢迎转载!转载请务必注明出处:http://guoyunsky.iteye.com/blog/649737       本博客已迁移到本人独立博客: http://www.yun5u ...

  10. 重定向Http status code 303 和 302

    http 302 http 303 Http 302 302是一个普通的重定向代码.直观的看来是,请求者(浏览器或者模拟http请求)发起一个请求,然后服务端重定向到另一个地址.而事实上,服务端仅仅是 ...

随机推荐

  1. JSBinding + SharpKit / 实战:转换 Survival Shooter

    从 asset store 下载 Survival Shooter (商店里有2个版本,一种是给Unity5用的,一个是给Unity4.6用的,我们这个实验用的是后者,版本是2.2.如果) 1 删除多 ...

  2. weblogic管理1——创建 和 删除一个domain

    说明本文环境  WLS_HOME=/home/weblogic/Oracle/Middleware创建一个domian   第一种方法通过console 创建>[weblogic@11g Mid ...

  3. AndroidStudio导入项目常见问题

    问题一: 解决:少了依赖的路径 问题二: 解决:把runProguard 改成minfyEnable 来源:http://blog.csdn.net/pengkv/article/details/44 ...

  4. PHP安装libevent扩展

    1. 下载扩展 官方地址http://pecl.php.net/package/libevent 请根据自己的PHP脚本选择相应版本 如 wget http://pecl.php.net/get/li ...

  5. linux工具之putty

    http://blog.csdn.net/qk_zhu/article/details/6272247 对于putty,似乎很多人只知道下载回来之后,双击,输入ip,然后登陆使用.其实putty有很多 ...

  6. Flowplayer-一款免费的WEB视频播放器

    Flowplayer 是一个开源(GPL 3的)WEB视频播放器.您可以将该播放器嵌入您的网页中,如果您是开发人员,您还可以自由定制和配置播放器相关参数以达到您要的播放效果. Flowplayer支持 ...

  7. ToggleButton与Switch

    状态开关按钮togglebutton和开关switch 状态开关按钮togglebutton和开关switch是由button派生出来的,本质也是按钮,支持BUtton的各种属性,从功能上看,Togg ...

  8. 【性能诊断】十一、性能问题综合分析(案例2,windbg、wireshark)

    [问题描述]:       前段时间有一项目反馈,常用的审批功能有时的响应较慢,多个管理员功能不定期的出现客户端无响应的状况,并且管理员功能一旦出现卡死,也会影响到普通的业务用户致使很多用户无法操作. ...

  9. 在程序中使用gettid()的方法

    gettid()这个函数不可以在程序中直接使用,它是linux本身的一个函数,直接使用会出现,尚未声明之类的错误. 我们可以自已定义实现方法,如下: #include <sys/syscall. ...

  10. Redis容灾部署(哨兵Sentinel)

    Redis容灾部署(哨兵Sentinel) 哨兵的作用 1. 监控:监控主从是否正常2. 通知:出现问题时,可以通知相关人员3. 故障迁移:自动主从切换4. 统一的配置管理:连接者询问sentinel ...