RFC定义Http状态码集合

状态码

状态码描述引用
100Continue
继续
[RFC9110, Section 15.2.1]
101Switching Protocols
切换协议
[RFC9110, Section 15.2.2]
102Processing
处理中
[RFC2518]
103Early Hints
早期提示
[RFC8297]
104-199Unassigned
未分配
200OK
成功
[RFC9110, Section 15.3.1]
201Created
已创建
[RFC9110, Section 15.3.2]
202Accepted
公认
[RFC9110, Section 15.3.3]
203Non-Authoritative Information
非权威信息
[RFC9110, Section 15.3.4]
204No Content
无内容
[RFC9110, Section 15.3.5]
205Reset Content
重置内容
[RFC9110, Section 15.3.6]
206Partial Content
部分内容
[RFC9110, Section 15.3.7]
207Multi-Status
多状态
[RFC4918]
208Already Reported
已举报
[RFC5842]
209-225Unassigned
未分配
226IM Used
使用即时通讯工具
[RFC3229]
227-299Unassigned
未分配
300Multiple Choices
多种选择
[RFC9110, Section 15.4.1]
301Moved Permanently
永久重定向
[RFC9110, Section 15.4.2]
302Found
临时重定向
[RFC9110, Section 15.4.3]
303See Other
查看其他
[RFC9110, Section 15.4.4]
304Not Modified
未修改
[RFC9110, Section 15.4.5]
305Use Proxy
使用代理服务器
[RFC9110, Section 15.4.6]
306(Unused)
(没用过)
[RFC9110, Section 15.4.7]
307Temporary Redirect
临时重定向
[RFC9110, Section 15.4.8]
308Permanent Redirect
永久重定向
[RFC9110, Section 15.4.9]
309-399Unassigned
未分配
400Bad Request
错误的请求
[RFC9110, Section 15.5.1]
401Unauthorized
未经授权
[RFC9110, Section 15.5.2]
402Payment Required
需要付款
[RFC9110, Section 15.5.3]
403Forbidden
禁止
[RFC9110, Section 15.5.4]
404Not Found
未找到
[RFC9110, Section 15.5.5]
405Method Not Allowed
不允许的方法
[RFC9110, Section 15.5.6]
406Not Acceptable
不能接受的
[RFC9110, Section 15.5.7]
407Proxy Authentication Required
需要代理身份验证
[RFC9110, Section 15.5.8]
408Request Timeout
请求超时
[RFC9110, Section 15.5.9]
409Conflict
冲突
[RFC9110, Section 15.5.10]
410Gone
请求的资源已被永久删除
[RFC9110, Section 15.5.11]
411Length Required
所需长度
[RFC9110, Section 15.5.12]
412Precondition Failed
前提条件失败
[RFC9110, Section 15.5.13]
413Content Too Large
内容太大
[RFC9110, Section 15.5.14]
414URI Too Long
URI 太长
[RFC9110, Section 15.5.15]
415Unsupported Media Type
不支持的媒体类型
[RFC9110, Section 15.5.16]
416Range Not Satisfiable
范围不可满足
[RFC9110, Section 15.5.17]
417Expectation Failed
期望落空
[RFC9110, Section 15.5.18]
418(Unused)
(没用过)
[RFC9110, Section 15.5.19]
419-420Unassigned
未分配
421Misdirected Request
错误的请求
[RFC9110, Section 15.5.20]
422Unprocessable Content
无法处理的内容
[RFC9110, Section 15.5.21]
423Locked
锁定
[RFC4918]
424Failed Dependency
依赖失败
[RFC4918]
425Too Early
太早了
[RFC8470]
426Upgrade Required
需要升级
[RFC9110, Section 15.5.22]
427Unassigned
未分配
428Precondition Required
需要先决条件
[RFC6585]
429Too Many Requests
请求过多
[RFC6585]
430Unassigned
未分配
431Request Header Fields Too Large
请求标头字段太大
[RFC6585]
432-450Unassigned
未分配
451Unavailable For Legal Reasons
因法律原因无法使用
[RFC7725]
452-499Unassigned
未分配
500Internal Server Error
内部服务器错误
[RFC9110, Section 15.6.1]
501Not Implemented
未实现
[RFC9110, Section 15.6.2]
502Bad Gateway
网关错误
[RFC9110, Section 15.6.3]
503Service Unavailable
服务不可用
[RFC9110, Section 15.6.4]
504Gateway Timeout
网关超时
[RFC9110, Section 15.6.5]
505HTTP Version Not Supported
HTTP 版本不支持
[RFC9110, Section 15.6.6]
506Variant Also Negotiates
变体也协商
[RFC2295]
507Insufficient Storage
存储空间不足
[RFC4918]
508Loop Detected
检测到循环
[RFC5842]
509Unassigned
未分配
510Not Extended (OBSOLETED)
未扩展(已废弃)
[RFC2774]
511Network Authentication Required
需要网络身份验证
[RFC6585]
512-599Unassigned
未分配

参考文档:
RFC9110

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值