HTTP Status Codes Reference

HTTP status codes are 3-digit server response identifiers, grouped into 5 categories. This table covers all common codes with descriptions.

1xx Informational2xx Success3xx Redirection4xx Client Error5xx Server Error
CodeNameChinese NameCategoryDescription
100Continue继续1xx InformationalThe client should continue with the request body.
101Switching Protocols切换协议1xx InformationalServer agrees to switch protocols (e.g., upgrade to WebSocket).
102Processing处理中1xx InformationalServer received the request and is still processing it.
200OK成功2xx SuccessThe request succeeded. Most common status code.
201Created已创建2xx SuccessRequest succeeded and a new resource was created (common for POST).
202Accepted已接受2xx SuccessRequest accepted but not yet processed (async task).
204No Content无内容2xx SuccessRequest succeeded with no content returned (common for DELETE).
206Partial Content部分内容2xx SuccessServer returns partial content (Range request).
301Moved Permanently永久重定向3xx RedirectionResource permanently moved to a new URL. SEO link equity transfers.
302Found临时重定向3xx RedirectionResource temporarily moved. Does not transfer SEO link equity.
304Not Modified未修改3xx RedirectionResource not modified, client should use cached version.
307Temporary Redirect临时重定向(保持方法)3xx RedirectionTemporary redirect, preserves the original request method.
308Permanent Redirect永久重定向(保持方法)3xx RedirectionPermanent redirect, preserves the original request method.
400Bad Request请求错误4xx Client ErrorMalformed request syntax or invalid parameters.
401Unauthorized未授权4xx Client ErrorAuthentication required. Common with missing or invalid token.
403Forbidden禁止访问4xx Client ErrorServer refuses the request (insufficient permissions).
404Not Found未找到4xx Client ErrorRequested resource not found. Most common client error.
405Method Not Allowed方法不允许4xx Client ErrorHTTP method not allowed (e.g., POST to a GET-only endpoint).
408Request Timeout请求超时4xx Client ErrorClient did not send request within server timeout.
409Conflict冲突4xx Client ErrorRequest conflicts with server state (e.g., duplicate creation).
410Gone已删除4xx Client ErrorResource permanently removed (more explicit than 404).
413Payload Too Large请求体过大4xx Client ErrorRequest body exceeds server limit (e.g., large file upload).
415Unsupported Media Type不支持的媒体类型4xx Client ErrorRequest Content-Type not supported by server.
422Unprocessable Entity无法处理的实体4xx Client ErrorWell-formed but semantically erroneous request (validation failure).
429Too Many Requests请求过多4xx Client ErrorRate limit exceeded (throttling).
500Internal Server Error服务器内部错误5xx Server ErrorUnexpected server error. Most common server error.
501Not Implemented未实现5xx Server ErrorServer does not support the requested feature.
502Bad Gateway网关错误5xx Server ErrorGateway/proxy received invalid response from upstream.
503Service Unavailable服务不可用5xx Server ErrorService temporarily unavailable (overloaded or maintenance).
504Gateway Timeout网关超时5xx Server ErrorGateway/proxy timed out waiting for upstream.
511Network Authentication Required需要网络认证5xx Server ErrorNetwork authentication required (e.g., captive portal).

Frequently Asked Questions

What is the difference between 301 and 302?

301 is a permanent redirect that transfers SEO link equity to the new URL; 302 is temporary and usually does not transfer equity. 308 / 307 are the method-preserving (e.g. POST) counterparts.

What is the difference between 404 and 410?

404 means the resource was not found (possibly temporarily); 410 means it was permanently removed — more explicit than 404 and helps search engines clean up faster.

What is the difference between 500 and 503?

500 is an unexpected server error; 503 means the service is temporarily unavailable (overload or maintenance), usually with a Retry-After header so crawlers retry later.

What does 429 mean?

Too Many Requests — rate limiting was triggered. The client should slow down and retry according to the Retry-After header.