首页
Tom Utilities

HTTP 状态码参考

HTML、CSS 与 JavaScript

查询所有常见 HTTP 状态码,包含名称和返回时机的简短说明。

使用方法

Understanding status codes

Codes are grouped by their first digit: 1xx informational, 2xx success, 3xx redirection, 4xx client errors and 5xx server errors.

  1. Search by number, name or description.
  2. Read when the code is returned.
  3. Copy the matching list.

常见问题

What does a 200 response mean?

The request succeeded and the server returned the expected content.

Should a 3xx be considered an error?

No, 3xx responses tell the client to look elsewhere, usually via a Location header.