HTTP状态码参考
所有HTTP状态码的快速参考。按类别搜索和过滤 - 信息性、成功、重定向、客户端错误和服务器错误代码。
Continue
Server received request headers, client should proceed.
Switching Protocols
Server is switching protocols as requested.
Processing
Server is processing the request (WebDAV).
Early Hints
Used for preloading resources while server prepares response.
OK
Request succeeded. Standard response for successful requests.
Created
Request succeeded and a new resource was created.
Accepted
Request accepted but not yet processed.
No Content
Request succeeded but no content to return.
Partial Content
Server is delivering partial resource (range requests).
Moved Permanently
Resource permanently moved to new URL.
Found
Resource temporarily moved to different URL.
See Other
Response can be found at different URL using GET.
Not Modified
Resource has not been modified since last request.
Temporary Redirect
Temporary redirect, method and body unchanged.
Permanent Redirect
Permanent redirect, method and body unchanged.
Bad Request
Server cannot process request due to client error.
Unauthorized
Authentication required and has failed or not provided.
Forbidden
Server refuses to authorize the request.
Not Found
Requested resource could not be found.
Method Not Allowed
Request method not supported for this resource.
Request Timeout
Server timed out waiting for the request.
Conflict
Request conflicts with current state of resource.
Gone
Resource is no longer available and will not return.
Payload Too Large
Request entity is larger than server limits.
Unsupported Media Type
Media type of request is not supported.
Unprocessable Entity
Request well-formed but semantically incorrect.
Too Many Requests
User sent too many requests (rate limiting).
Internal Server Error
Generic server error message.
Not Implemented
Server does not recognize the request method.
Bad Gateway
Server received invalid response from upstream server.
Service Unavailable
Server temporarily unavailable (overloaded/maintenance).
Gateway Timeout
Server did not receive timely response from upstream.
开发者提示
使用具体的状态码而不是通用的。例如,对于未找到,使用404而不是仅使用400。
相关工具
🔒 即时结果,比AI更快。无需注册。100%隐私保护。