# HTTP Status 查询工具

URL: https://caijiao.org/tool/http-status-lookup
Source: docs/tool/http-status-lookup.md
Description: HTTP Status 查询工具，输入 200、301、404、502 等状态码，快速查看含义、常见场景、排查提示和相关 HTTP Reference。

HTTP Status 查询工具用于快速确认状态码含义。适合调试接口、排查 Nginx 代理、分析 Search Console 抓取异常，以及判断重定向和错误页是否返回了正确状态码。

## 使用场景

- 接口返回 `401`、`403`、`422`、`429` 时，确认应该从认证、权限、参数还是限流排查。
- 页面返回 `301`、`302`、`307`、`308` 时，判断是否符合 SEO 和缓存预期。
- Nginx 或网关返回 `502`、`503`、`504` 时，快速定位上游服务、负载或超时方向。

## 常见问题

- `404` 表示资源不存在；如果页面已永久删除且没有替代页，可以考虑 `410`。
- `500` 是服务端内部错误，不应让前端用“网络错误”笼统吞掉。
- `301` 会被浏览器和搜索引擎长期记住，临时跳转不要随意使用。

## 相关内容

- [HTTP 状态码总览](/reference/http/status-codes)
- [HTTP Redirect](/reference/http/redirect)
- [Fetch 如何处理 HTTP 错误](/how-to/javascript/handle-fetch-error)
- [301 和 302 重定向怎么选](/how-to/seo-website/301-vs-302)
- [Nginx 教程](/nginx/)
