October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

HTTP Status Codes Explained: What Each Class Means

HTTP status codes are three-digit response numbers. The first digit identifies one of five classes, while the specific code describes the result and required behavior.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An HTTP status code is a three-digit number in a response that describes the result of a request and the meaning of the response, including whether it succeeded and what content it contains. Valid codes run from 100 through 599. Read the first digit first: it identifies the code’s broad class, while the specific code determines what happened.

The five HTTP status-code classes

Class Standard meaning How to read it
1xx Informational An interim response communicating connection status or request progress. The exchange is continuing; this is not the final response.
2xx Successful The request was successfully received, understood, and accepted. The request succeeded according to the particular code’s meaning.
3xx Redirection Further action is needed to complete the request. The client may need to follow or otherwise act on the response.
4xx Client Error The request contains bad syntax or cannot be fulfilled. The request has a client-error condition as defined by the specific code; this does not automatically assign personal blame.
5xx Server Error The server failed to fulfill an apparently valid request. The server encountered a failure or cannot perform the request.

These definitions come from RFC 9110, HTTP Semantics. A class is a useful first clue, not a complete diagnosis: individual code definitions and the request context determine the actual behavior.

As an Amazon Associate I earn from qualifying purchases.

Common codes and what they mean

Information and success

  • 100 Continue: The server has received the initial part of the request and has not rejected it. It intends to send a final response after receiving and acting on the complete request.
  • 101 Switching Protocols: The server agrees to the requested protocol change using the Upgrade mechanism.
  • 200 OK: The request succeeded. The precise meaning depends on the request method.
  • 201 Created: The request was fulfilled and resulted in one or more new resources.

Redirection

  • 301 Moved Permanently: The target resource has been assigned a new permanent URI.
  • 302 Found: The target resource is temporarily available under a different URI.

Do not assume all 3xx responses behave alike. The specific code defines the redirect behavior, including relevant method handling.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Client and server errors

  • 400 Bad Request: The server cannot or will not process the request because it perceives a client error, such as malformed syntax or invalid framing.
  • 401 Unauthorized: The request was not applied because it lacks valid authentication credentials. The server must send a WWW-Authenticate challenge.
  • 403 Forbidden: The server understood the request but refuses to fulfill it.
  • 404 Not Found: The origin server did not find a current representation for the target resource, or is unwilling to disclose that one exists.
  • 500 Internal Server Error: The server encountered an unexpected condition that prevented it from fulfilling the request.
  • 502 Bad Gateway: A server acting as a gateway or proxy received an invalid response from an inbound server it contacted while trying to fulfill the request.
  • 503 Service Unavailable: The server is currently unable to handle the request, often because of temporary overload or scheduled maintenance that is likely to be alleviated after some delay.

How to interpret a status code correctly

  • Start with the number, not the message. An error-page sentence or reason phrase may help explain a particular response, but it is not the full protocol definition.
  • Use the exact code for the condition. A 4xx response has client-error semantics and a 5xx response has server-error semantics; neither label alone proves who caused an incident or what a person should do next.
  • Treat 1xx as interim. Informational responses end at the end of the header section and cannot contain content or trailers. A client must be able to parse one or more 1xx responses before the final response.
  • Check the current registry for less familiar codes. The IANA HTTP Status Code Registry lists registered codes, descriptions, and references. Its page was last updated 2025-09-15.

What happens when a client sees an unfamiliar code?

HTTP status codes are extensible, so a client does not have to understand every registered code. It must recognize the class from the first digit and treat an unrecognized code as equivalent to that class’s x00 code. For example, RFC 9110 says an unrecognized 471 can be processed as if it were 400.

A status value outside the valid 100–599 range is invalid. RFC 9110 says a client receiving an invalid status code should process it as a 5xx response.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Where to find the complete list

The examples above are a selection, not an exhaustive catalogue. For registered codes and their references, consult the IANA registry. For the definitions and rules that govern how codes are interpreted, see the RFC Editor’s RFC 9110, published in June 2022.

Quick Recap

SaleBestseller No. 3
HTTP: The Definitive Guide
HTTP: The Definitive Guide
Used Book in Good Condition
$26.04
SaleBestseller No. 4
HTTP Pocket Reference: Hypertext Transfer Protocol
HTTP Pocket Reference: Hypertext Transfer Protocol
Used Book in Good Condition
$6.94
SaleBestseller No. 5
Best Value
Rank #4
Rank #3
Sale
HTTP: The Definitive Guide
  • Used Book in Good Condition

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.