51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

HTTP 状态码参考

这个页面上是 HTTP 超文本传输协议的常见返回状态码列表。根据互联网的资料,尤其是相关 RFC 中的描述整理而成。杜老师会努力保证这个页面上的描述是准确无误的。如果对其中提到内容有任何问题,欢迎在页面下留言讨论!

1xx Informational {#1xx-Informational}

提示信息列表如下:

| 状态编码 | 英文名称 | |------|---------------------| | 100 | Continue | | 101 | Switching Protocols | | 102 | Processing | | 103 | Early Hints |

2xx Successful {#2xx-Successful}

请求成功列表如下:

| 状态编码 | 英文名称 | |------|-------------------------------| | 200 | OK | | 201 | Created | | 202 | Accepted | | 203 | Non-Authoritative Information | | 204 | No Content | | 205 | Reset Content | | 206 | Partial Content | | 207 | Multi-Status | | 208 | Already Reported | | 226 | IM Used |

3xx Redirection {#3xx-Redirection}

跳转列表如下:

| 状态编码 | 英文名称 | |------|--------------------| | 300 | Multiple Choices | | 301 | Moved Permanently | | 302 | Found | | 303 | See Other | | 304 | Not Modified | | 305 | Use Proxy | | 306 | Switch Proxy | | 307 | Temporary Redirect | | 308 | Permanent Redirect |

4xx Client Error {#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 | | 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 | | 418 | I'm a teapot | | 421 | Misdirected Request | | 422 | Unprocessable Entity | | 423 | Locked | | 424 | Failed Dependency | | 425 | Too Early | | 426 | Upgrade Required | | 428 | Precondition Required | | 429 | Too Many Requests | | 431 | Request Header Fields Too Large | | 451 | Unavailable For Legal Reasons |

5xx Server Error {#5xx-Server-Error}

服务器端错误列表如下:

| 状态编码 | 英文名称 | |---------------------------|---------------------------------| | 500 Internal Server Error | | | 501 | Not Implemented | | 502 | Bad Gateway | | 503 | Service Unavailable | | 504 | Gateway Timeout | | 505 | HTTP Version Not Supported | | 506 | Variant Also Negotiates | | 507 | Insufficient Storage | | 508 | Loop Detected | | 510 | Not Extended | | 511 | Network Authentication Required |

中英文对照词汇表 {#中英文对照词汇表}

部分中英文对照表如下:

| 英文 | 中文 | |-----------------|--------------------------------------| | Status Code | HTTP 状态码 | | Request | 请求 | | Response | 响应 | | Request Method | 请求方法 | | Request Header | HTTP 请求头 | | Response Header | HTTP 响应头 | | RFC | Request For Comment 的缩写,互联网技术标准的定义文档 |

赞(1)
未经允许不得转载:工具盒子 » HTTP 状态码参考