1xx(信息性状态码):体现请求已被接收,需要继承处置惩罚。
100 Continue
101 Switching Protocols
2xx(成功状态码):体现请求已成功被服务器接收、理解并担当。
200 OK
201 Created
202 Accepted
204 No Content
3xx(重定向状态码):体现需要后续操作才气完成请求。
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
307 Temporary Redirect
308 Permanent Redirect
4xx(客户端错误状态码):体现请求包含错误或无法被服务器理解。
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
405 Method Not Allowed
408 Request Timeout
409 Conflict
413 Payload Too Large
415 Unsupported Media Type
429 Too Many Requests
5xx(服务器错误状态码):体现服务器在尝试处置惩罚请求时发生了错误。
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
511 Network Authentication Required
相关字节数