HTTP 状态码参考

HTTP 状态码完整参考,分类浏览,快速搜索,常见状态码对比。

常见状态码速查

200

请求成功

201

创建成功

204

无内容返回

301

永久重定向

302

临时重定向

304

缓存有效

400

请求有误

401

未登录

403

无权限

404

资源不存在

429

请求太频繁

500

服务器错误

502

网关错误

503

服务不可用

504

网关超时

1xx 信息响应

4
100Continue
101Switching Protocols
102Processing
103Early Hints

2xx 成功

10
200OK
201Created
202Accepted
203Non-Authoritative Information
204No Content
205Reset Content
206Partial Content
207Multi-Status
208Already Reported
226IM Used

3xx 重定向

8
300Multiple Choices
301Moved Permanently
302Found
303See Other
304Not Modified
305Use Proxy
307Temporary Redirect
308Permanent Redirect

4xx 客户端错误

29
400Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Payload Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed
418I'm a Teapot
421Misdirected Request
422Unprocessable Entity
423Locked
424Failed Dependency
425Too Early
426Upgrade Required
428Precondition Required
429Too Many Requests
431Request Header Fields Too Large
451Unavailable For Legal Reasons

5xx 服务器错误

11
500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Timeout
505HTTP Version Not Supported
506Variant Also Negotiates
507Insufficient Storage
508Loop Detected
510Not Extended
511Network Authentication Required