HTTP 状态码表

HTTP 状态码参考

0 次浏览最后更新: 2026/4/8
100
Continue
继续发送请求
101
Switching Protocols
切换协议
102
Processing
处理中
200
OK
请求成功
201
Created
已创建
202
Accepted
已接受
204
No Content
无内容
206
Partial Content
部分内容
300
Multiple Choices
多种选择
301
Moved Permanently
永久移动
302
Found
临时移动
304
Not Modified
未修改
307
Temporary Redirect
临时重定向
308
Permanent Redirect
永久重定向
400
Bad Request
请求错误
401
Unauthorized
未授权
403
Forbidden
禁止访问
404
Not Found
未找到
405
Method Not Allowed
方法不允许
408
Request Timeout
请求超时
409
Conflict
冲突
410
Gone
已删除
413
Payload Too Large
请求实体过大
414
URI Too Long
URI过长
415
Unsupported Media Type
不支持的媒体类型
429
Too Many Requests
请求过多
500
Internal Server Error
服务器内部错误
501
Not Implemented
未实现
502
Bad Gateway
网关错误
503
Service Unavailable
服务不可用
504
Gateway Timeout
网关超时
505
HTTP Version Not Supported
HTTP版本不支持

关联介绍

什么是HTTP状态码

HTTP状态码分五类:1xx信息(继续、理解)、2xx成功(200 OK、201创建)、3xx重定向、4xx客户端错误(404未找到、401未授权)、5xx服务端错误(500内部错误、503服务不可用)。

什么是4xx状态码

4xx表示客户端请求有问题。常见:400 Bad Request(语法错误)、401 Unauthorized(需认证)、403 Forbidden(无权限)、404 Not Found(资源不存在)、429 Too Many Requests(请求过多/限流)。