运维
速查
表
搜索
⌘
K
编辑
HTTP 状态码
cheatsheet
HTTP 状态码由三个十进制数字组成,第一个十进制数字定义了状态码的类型。
#
HTTP 状态码
#
分类
1xx:信息性状态码
2xx:成功状态码
3xx:重定向状态码
4xx:客户端错误状态码
5xx:服务器错误状态码
#
2xx. Successful
200: OK
201: Created
202: Accepted
203: Non-Authoritative Information
204: No Content
205: Reset Content
206: Partial Content
#
4xx. Client Error
400: Bad Request
401: Unauthorized
402: Payment Required
403: Forbidden
404: Not Found
405: Method Not Allowed
406: Not Acceptable
407: Proxy Authentication Required
408: Request Timeout
409: Conflict
410: Gone
411: Length Required
412: Precondition Failed
413: Payload Too Large
414: URI Too Long
415: Unsupported Media Type
416: Range Not Satisfiable
417: Expectation Failed
426: Upgrade Required
451: Unavailable For Legal Reasons
#
1xx. Information
100: Continue
101: Switching Protocols
102: Processing
#
3xx. Redirection
300: Multiple Choices
301: Moved Permanently
302: Found
303: See Other
304: Not Modified
305: Use Proxy
306: Unused
307: Temporary Redirect
#
5xx. Server Error
500: Internal Server Error
501: Not Implemented
502: Bad Gateway
503: Service Unavailable
504: Gateway Timeout
505: HTTP Version Not Supported
#
更多资源
RFC 2616
RFC 7231
RFC 9110
HTTP 响应状态码
(developer.mozilla.org)
httpcode
(httpcode.info)
取消