一.消息:
- 100 Continue
- 101 Switching Protocols
- 102 Processing
二. 成功
200 ok
三 重定向
- 301 Moved Permanently(永久重定向)
- 302 Move temporarily(临时重定向)
四 客户端
- 400 Bad Request
- ? 401 Unauthorized(请求未经授权,这个状态代码必须和WWW-Authenticate)
- ? 402 Payment Required(客户端请求有语法错误,不能被服务器所理解)
- ? 403 Forbidden(服务器收到请求,但是拒绝提供服务)
- ? 404 Not Found(请求资源不存在)
五 服务器端
- 500 Internal Server Error(服务器发生不可预期的错误)
- ? 501 Not Implemented
- ? 502 Bad Gateway(请求未完成,服务器从上游收到一个无效的响应)
- ? 503 Service Unavailable(服务器当前不能处理客户端的请求,一段时间后可能恢复正常)
http状态码
原文地址:https://www.cnblogs.com/chaihtml/p/10383714.html