HTTP Response中的Status-Code
1XX: 通知信息。请求被接收,继续处理2XX: 成功。请求动作被成功接收、理解和接受3XX: 重定向。需要其他的动作来完成这个请求4XX: 客户端错误。请求包含错误的语法或者缺少语法5XX: 服务端错误。服务端无法完成有效的请求
上述状态码在HTTP/1.1中定义,下面是一组相关的错误原因。
1XX
100; Section 10.1.1: Continue101; Section 10.1.2: Switching Protocols
2XX
200; Section 10.2.1: OK201; Section 10.2.2: Created202; Section 10.2.3: Accepted203; Section 10.2.4: Non-Authoritative Information204; Section 10.2.5: No Content205; Section 10.2.6: Reset Content206; Section 10.2.7: Partial Content
3XX
300; Section 10.3.1: Multiple Choices301; Section 10.3.2: Moved Permanently302; Section 10.3.3: Found303; Section 10.3.4: See Other304; Section 10.3.5: Not Modified305; Section 10.3.6: Use Proxy307; Section 10.3.8: Temporary Redirect
4XX
400; Section 10.4.1: Bad Request401; Section 10.4.2: Unauthorized402; Section 10.4.3: Payment Required403; Section 10.4.4: Forbidden404; Section 10.4.5: Not Found405; Section 10.4.6: Method Not Allowed406; Section 10.4.7: Not Acceptable407; Section 10.4.8: Proxy Authentication Required408; Section 10.4.9: Request Time-out409; Section 10.4.10: Conflict410; Section 10.4.11: Gone411; Section 10.4.12: Length Required412; Section 10.4.13: Precondition Failed413; Section 10.4.14: Request Entity Too Large414; Section 10.4.15: Request-URI Too Large415; Section 10.4.16: Unsupported Media Type416; Section 10.4.17: Requested range not satisfiable417; Section 10.4.18: Expectation Failed
5XX
500; Section 10.5.1: Internal Server Error501; Section 10.5.2: Not Implemented502; Section 10.5.3: Bad Gateway503; Section 10.5.4: Service Unavailable504; Section 10.5.5: Gateway Time-out505; Section 10.5.6: HTTP Version not supported
HTTP Response中的Status-Code的更多相关文章
- 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 ...
- HTTP 1.0 Status Code Definitions
part of Hypertext Transfer Protocol -- HTTP/1.1RFC 2616 Fielding, et al. 10 Status Code Definitions ...
- 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. ...
- Js 跨域CORS报错 Response for preflight has invalid HTTP status code 405
问题 公司项目H5调用接口遇到Response for preflight has invalid HTTP status code 405这样的错误,是使用PUT方式提交请求接口.Content-T ...
- 转 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 ...
- 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 ...
- 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 ...
- 解决爬虫浏览器中General显示 Status Code:304 NOT MODIFIED,而在requests请求时出现403被拦截的情况。
在此,非常感谢 “完美风暴4” 的无私共享经验的精神 在Python爬虫爬取网站时,莫名遇到 浏览器中General显示 Status Code: 304 NOT MODIFIED 而在req ...
- Heritrix源码分析(十) Heritrix中的Http Status Code(Http状态码)(转)
本博客属原创文章,欢迎转载!转载请务必注明出处:http://guoyunsky.iteye.com/blog/649737 本博客已迁移到本人独立博客: http://www.yun5u ...
- 重定向Http status code 303 和 302
http 302 http 303 Http 302 302是一个普通的重定向代码.直观的看来是,请求者(浏览器或者模拟http请求)发起一个请求,然后服务端重定向到另一个地址.而事实上,服务端仅仅是 ...
随机推荐
- lucene 基本原理整理
基本原理:http://www.cnblogs.com/forfuture1978/archive/2009/12/14/1623594.html 所有过程:http://www.cnblogs.co ...
- 从扩展方法到匿名方法再到LINQ
1.首先我们应该知道什么是扩展方法: 扩展方法使您能够向现有类型“添加”方法,而无需创建新的派生类型.重新编译或以其他方式修改原始类型. 扩展方法是一种特殊的静态方法,但可以像扩展类型上的实例方法一样 ...
- Js中的window.parent ,window.top,window.self ,window.openner详解
在应用有frameset或者iframe的页面时,parent是父窗口,top是最顶级父窗口(有的窗口中套了好几层frameset或者iframe),self是当前窗口, opener是用open方法 ...
- css_样式样式器的分类
详情:http://www.w3school.com.cn/h.asp 1.标签样式器:此样式器仅对html页面中div标签有效果 div{ background-color: rosybrown; ...
- python join与split函数的用法举例
python join 和 split方法: join用来连接字符串,split恰好相反,拆分字符串的. 来看有关join.split方法的例子 1,join用法的例子 复制代码 代码示例: > ...
- mysqldump: Got error: 1556: You can't use locks with log tables. when using LOCK TABLES
mysqldump: Got error: 1556: You can't use locks with log tables. when using LOCK TABLES 我是把一些mysqldu ...
- [轉]Android的内存泄漏和调试
一. Android的内存机制 Android的程序由Java语言编写,所以Android的内存管理与Java的内存管理相似.程序员通过new为对象分配内存,所有对象在java堆内分配空间:然而对象的 ...
- 每日学习心得:未定义的命名空间前缀"xsd"问题和<%%>、<%=%>、<%$%>、<%@%>的区别
2013-6-29 1. 未定义的命名空间前缀“xsd” 上周在项目开发中遇到这样的一个问题,在一个页面用到了自定义的Picker控件,在IE6.7.8.9以及IE10兼容模式下都没有任何问题,但是一 ...
- WCF学习心得------(三)配置服务
配置服务 配置服务概述 在设计和实现服务协定后,便可以进行服务的配置.在其中可以定义和自定义如何向客户段公开服务,包括指定可以找到服务的地址,服务用于发送和接受消息的传输和消息编码,以及服务需要的安全 ...
- MyBatis插入多条
<insert id="insertProjectPropertyRelList" parameterType="java.util.List"> ...