Reference

HTTP status codes, explained

A status code is the first thing a client reads about a response. These entries explain the meaning defined by the HTTP standard, then the causes and fixes you actually meet in logs, APIs and browsers.

How to read a status code

The first digit names the class: 1xx interim, 2xx success, 3xx redirection, 4xx client error, 5xx server error. The last two digits identify the specific condition. A code is a promise about the response, not a description of your application: a 404 says the server did not find a representation for the target URI, whether or not a database row exists.

Two attributes matter when debugging: whether a response is cacheable by default, and whether the request method is idempotent. Both are defined per code in RFC 9110 and decide whether a retry is safe and whether a proxy may reuse an answer.

Where these definitions come from

Meanings follow RFC 9110 (HTTP Semantics) and the WebDAV extensions in RFC 4918. The code registry is maintained by IANA. Facts are stated as the standard defines them; the causes and fixes are practical notes from server logs, not part of the specification.

All entries

New tools, straight to your inbox

One short email when we add tools worth using. No spam, unsubscribe anytime.