Skip to content
Engyna

HTTP Status Codes

Look up every HTTP status code with its meaning, typical causes, headers, caching and retry advice.

How to use the HTTP Status Codes

  1. 1Search by number, name or symptom, e.g. 502, teapot or rate limit, or filter by class.
  2. 2Pick a code to read what it means, its typical causes and the headers that matter.
  3. 3Check the caching and retry advice, copy the example response, or copy a direct link to the code.

About HTTP Status Codes

HTTP Status Codes is a searchable reference for 68 status codes, from 100 Continue to Cloudflare's 524. Besides the official codes from the HTTP standards it includes widely seen unofficial ones such as nginx's 499 and the Cloudflare 52x errors, clearly marked. Search by number, name or symptom like rate limit or timeout, or filter by class: informational, success, redirection, client error and server error.

Each entry explains what the server is saying, lists typical causes, names the headers that matter, such as Location, Retry-After or WWW-Authenticate, and shows a minimal example response. It also states whether the response is cacheable by default, gives retry advice and cites the spec section. Every code has a direct link you can copy and share.

The HTTP status code list helps backend developers choose the right code for an API response, frontend developers handle errors correctly, and DevOps engineers trace a 502 or 504 from a proxy or load balancer. It is equally useful for SEO checks of redirects and 404 or 410 pages.

Frequently asked questions

What is the difference between 401 and 403?

401 Unauthorized means the request isn't authenticated: log in or send a valid token. 403 Forbidden means the server knows who you are, or doesn't care, and refuses anyway; logging in again won't help.

Should I use 301 or 308, 302 or 307?

301 and 302 allow browsers to turn a POST into a GET when following the redirect. 308 (permanent) and 307 (temporary) require the same method and body. For page moves 301 is fine; for API endpoints prefer 308 or 307.

What is the difference between 502, 503 and 504?

All three usually come from a proxy or load balancer. 502 means the server behind it sent an invalid answer or none, 503 means the service is deliberately unavailable (maintenance or overload), and 504 means the server behind it took too long.

Which status codes are cached by default?

200, 203, 204, 206, 300, 301, 308, 404, 405, 410, 414 and 501 may be cached without explicit headers, using heuristics. Everything else is only cached when Cache-Control or Expires allows it.

When should a client retry?

Retry 408, 429, 500, 502, 503 and 504 with exponential backoff, and respect Retry-After when it is sent. Don't retry other 4xx errors unchanged, and be careful retrying POST requests, which may run twice.