该页面提供了HTTP状态码的详细参考,包括各类状态码的含义、使用场景及解决方法。
1xx:信息性状态码
| 状态码 | 说明 |
|---|---|
100 | Continue |
101 | Switching Protocols |
2xx:成功状态码
| 状态码 | 说明 |
|---|---|
200 | OK |
201 | Created |
202 | Accepted |
203 | Non-Authoritative Information |
204 | No Content |
205 | Reset Content |
206 | Partial Content |
3xx:重定向状态码
| 状态码 | 说明 |
|---|---|
300 | Multiple Choices |
301 | Moved Permanently |
302 | Found |
303 | See Other |
304 | Not Modified |
305 | Use Proxy |
307 | Temporary Redirect |
308 | Permanent Redirect |
4xx:客户端错误状态码
| 状态码 | 说明 |
|---|---|
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 |
5xx:服务器错误状态码
| 状态码 | 说明 |
|---|---|
500 | Internal Server Error |
501 | Not Implemented |
502 | Bad Gateway |
503 | Service Unavailable |
504 | Gateway Timeout |
505 | HTTP Version Not Supported |
结语
通过本状态码速查表,开发者可以快速查找和理解各种HTTP状态码的含义及其应用场景,从而更高效地进行Web开发与调试。