Home/
HTTP Status Codes & Response Headers

Interactive HTTP Status Codes Reference & Header Tester

Comprehensive directory of 1xx to 5xx response codes with official RFC 9110 specifications, caching directives, real-world troubleshooting guides, and instant client-side header simulation.

Group:
Quick Jump:
Found 53 status codesTap to inspect
100Continue
1xx

Client may proceed with sending the request payload body.

RFC 9110 §15.2.1No Cache
101Switching Protocols
1xx

Client may proceed with sending the request payload body.

RFC 9110 §15.2.2No Cache
102Processing
1xx

Server accepted protocol upgrade request (e.g., HTTP to WebSocket).

RFC 2518 (WebDAV)No Cache
103Early Hints
1xx

Server has accepted the full request but is still generating response.

RFC 8297No Cache
200OK
2xx

The request has succeeded. Default standard response for successful HTTP requests.

RFC 9110 §15.3.1Cacheable
201Created
2xx

The request has been fulfilled, resulting in the creation of a new resource.

RFC 9110 §15.3.2No Cache
202Accepted
2xx

The request has been accepted for processing, but processing has not completed.

RFC 9110 §15.3.3No Cache
203Non-Authoritative Information
2xx

Request accepted for async processing, but execution has not finished.

RFC 9110 §15.3.4Cacheable
204No Content
2xx

The server has successfully fulfilled the request and there is no additional content to send in the response payload body.

RFC 9110 §15.3.5Cacheable
205Reset Content
2xx

Request succeeded, but server intentionally returns zero payload body.

RFC 9110 §15.3.6No Cache
206Partial Content
2xx

Server fulfilled request and desires client to reset document view (clear form).

RFC 9110 §15.3.7Cacheable
207Multi-Status
2xx

Delivering only a byte-range portion of the resource requested.

RFC 4918 (WebDAV)No Cache
301Moved Permanently
3xx

The target resource has been assigned a new permanent URI. Any future references to this resource should use one of the returned URIs.

RFC 9110 §15.4.2Cacheable
302Found
3xx

The target resource resides temporarily under a different URI (temporary redirection).

RFC 9110 §15.4.3No Cache
303See Other
3xx

Temporary redirect; client should continue using original URI.

RFC 9110 §15.4.4No Cache
304Not Modified
3xx

Indicates that the resource has not been modified since the version specified by the request headers (conditional GET).

RFC 9110 §15.4.5No Cache
307Temporary Redirect
3xx

Temporary redirect guaranteeing the HTTP request method and body are preserved.

RFC 9110 §15.4.8No Cache
308Permanent Redirect
3xx

Permanent redirect guaranteeing the HTTP request method and body are preserved.

RFC 9110 §15.4.9Cacheable
400Bad Request
4xx

The server cannot or will not process the request due to something that is perceived to be a client error (malformed syntax, invalid framing).

RFC 9110 §15.5.1No Cache
401Unauthorized
4xx

The request has not been applied because it lacks valid authentication credentials for the target resource.

RFC 9110 §15.5.2No Cache
402Payment Required
4xx

Authentication credentials missing or invalid; MUST send WWW-Authenticate.

RFC 9110 §15.5.3No Cache
403Forbidden
4xx

The server understood the request but refuses to authorize it. Unlike 401, re-authenticating will make no difference.

RFC 9110 §15.5.4No Cache
404Not Found
4xx

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

RFC 9110 §15.5.5Cacheable
405Method Not Allowed
4xx

The request method is known by the server but is not supported by the target resource.

RFC 9110 §15.5.6No Cache
406Not Acceptable
4xx

Target URI exists, but requested HTTP method is unsupported; MUST send Allow.

RFC 9110 §15.5.7No Cache
408Request Timeout
4xx

Resource cannot generate response matching client Accept headers.

RFC 9110 §15.5.9No Cache
409Conflict
4xx

Server timed out waiting for client to finish sending request message.

RFC 9110 §15.5.10No Cache
410Gone
4xx

Request could not be processed due to a conflict with current resource state.

RFC 9110 §15.5.11Cacheable
412Precondition Failed
4xx

Resource was intentionally and PERMANENTLY deleted; search engines de-index.

RFC 9110 §15.5.13No Cache
413Payload Too Large
4xx

One or more conditions given in request header fields evaluated to false.

RFC 9110 §15.5.14No Cache
414URI Too Long
4xx

Request body payload exceeds maximum size limit configured on server.

RFC 9110 §15.5.15No Cache
415Unsupported Media Type
4xx

Target URI exceeds length server is willing to interpret.

RFC 9110 §15.5.16No Cache
418I'm a teapot
4xx

Request payload format/content-type is not supported by endpoint.

RFC 2324 / RFC 9110 §15.5.19No Cache
422Unprocessable Content
4xx

The server understands the content type and syntax, but was unable to process instructions (validation error).

RFC 9110 §15.5.21No Cache
426Upgrade Required
4xx

Request syntax is valid JSON, but contains semantic validation errors.

RFC 9110 §15.5.22No Cache
429Too Many Requests
4xx

The user has sent too many requests in a given amount of time ('rate limiting').

RFC 6585No Cache
431Request Header Fields Too Large
4xx

User has sent too many requests in a given amount of time (rate limited).

RFC 6585No Cache
451Unavailable For Legal Reasons
4xx

Server refuses request because individual or total header fields are too large.

RFC 7725Cacheable
500Internal Server Error
5xx

The server encountered an unexpected condition that prevented it from fulfilling the request.

RFC 9110 §15.6.1No Cache
501Not Implemented
5xx

Generic catch-all server crash or unhandled runtime code exception.

RFC 9110 §15.6.2No Cache
502Bad Gateway
5xx

The server, while acting as a gateway or proxy, received an invalid response from the inbound upstream server.

RFC 9110 §15.6.3No Cache
503Service Unavailable
5xx

The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.

RFC 9110 §15.6.4No Cache
504Gateway Timeout
5xx

The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server.

RFC 9110 §15.6.5No Cache
505HTTP Version Not Supported
5xx

Reverse proxy timed out waiting for upstream server to complete request.

RFC 9110 §15.6.6No Cache
507Insufficient Storage
5xx

Server does not support the HTTP major version used in request.

RFC 4918 (WebDAV)No Cache
508Loop Detected
5xx

Server is unable to store the representation needed to complete request.

RFC 5842 (WebDAV)No Cache
511Network Authentication Required
5xx

Server terminated operation because it encountered an infinite loop.

RFC 6585No Cache
520Web Server Returned an Unknown Error
edge

Client needs to authenticate to gain network access (captive portal).

Cloudflare ExtensionNo Cache
521Web Server Is Down
edge

Catch-all 520 when origin server sent an empty, unknown, or corrupted response.

Cloudflare ExtensionNo Cache
522Connection Timed Out
edge

Cloudflare successfully resolved origin IP, but origin refused connection.

Cloudflare ExtensionNo Cache
523Origin Is Unreachable
edge

Cloudflare could not complete TCP handshake with origin server within 15s.

Cloudflare ExtensionNo Cache
524A Timeout Occurred
edge

Cloudflare cannot reach origin server due to network routing failure.

Cloudflare ExtensionNo Cache
525SSL Handshake Failed
edge

Cloudflare connected to origin, but origin took over 100s to send HTTP response.

Cloudflare ExtensionNo Cache
403

Forbidden

4xx ClassRFC 9110 §15.5.4
HTTP Caching DirectiveNo Cache
Safe Method ContextSafe (Read-only)
IdempotencyIdempotent

Protocol Specifications & Meaning

Indicates that the server understood the request but refuses to authorize it. Unlike 401 Unauthorized, re-authenticating with the same credentials will make no difference because the user's role, IP, WAF, or scopes do not have permission for the resource.

Typical Root Causes

  • •User is authenticated, but lacks 'admin' or required RBAC permission scope.
  • •CORS Preflight origin blocked or forbidden.
  • •Cloudflare WAF / AWS Shield IP geo-blocking rule triggered.
  • •Missing CSRF token on state-changing POST request.
  • •File permission 403 Forbidden on Linux Nginx (worker user cannot read static folder).

Standard Troubleshooting & Fixes

1.Verify user token permissions/scopes ('role: admin' missing).
2.Check CORS origin whitelist in backend config.
3.Check Nginx file system permissions: ensure 'chmod 755 /var/www' and files are 644.
4.If behind Cloudflare, inspect Security Events log for WAF firewall triggers.

Wire HTTP Response Preview

HTTP/1.1 403 Forbidden
Content-Type: application/json
Content-Length: 104

{
  "error": "forbidden",
  "message": "You lack the required 'billing:write' permission scope."
}

Backend Implementation Snippets

if (!req.user.roles.includes('admin')) {
  return res.status(403).json({ error: 'Insufficient permissions' });
}

RFC 9110 & 9111 Semantics

Strictly conforms to current IETF HTTP standards, clarifying caching behavior, safe/idempotent contracts, and protocol edge cases.

Actionable Root Cause Analysis

Clear diagnostic trees for critical production errors including 401 vs 403 permissions, 502 Bad Gateway proxy drops, and 504 timeouts.

Zero Input Uploads & Local Execution

Header inspection and status code evaluation run 100% in your browser memory. No tokens, cookies, or payloads are dispatched to external servers.

Technical Reference & Architecture Guide

HTTP Status Codes & Response Headers Cheat Sheet — Reference Guide

Definitive HTTP/1.1, HTTP/2, and HTTP/3 response status codes directory with RFC 9110 semantics, caching directives, and troubleshooting guides.

HTTP Status Codes & Response Headers Cheat Sheet — Reference Guide — Client-Side In-Memory Architecture & Data Flow
HTTP Status Codes & Response Headers Cheat Sheet — Reference Guide — Client-Side In-Memory Architecture & Data Flow
RFC 9110 HTTP Semantics

Master HTTP Status Codes Quick Reference Table

Core HTTP status codes across 2xx Success, 3xx Redirection, 4xx Client Error, and 5xx Server Error classes, RFC standards, and caching semantics.

Master HTTP Status Codes Quick Reference Table
Status CodeReason PhraseClassRFC SpecCacheable?Primary Meaning & Operational Handling
200OK2xx SuccessRFC 9110 §15.3.1Yes (default)Request succeeded; entity payload returned in response body.
201Created2xx SuccessRFC 9110 §15.3.2YesNew resource successfully created; URI typically returned in Location header.
204No Content2xx SuccessRFC 9110 §15.3.5YesAction succeeded; response body intentionally empty (common for DELETE/PUT).
301Moved Permanently3xx RedirectionRFC 9110 §15.4.2Yes (default)Target resource assigned permanent new URI; search engines transfer link equity.
302Found (Temp Redirect)3xx RedirectionRFC 9110 §15.4.3No (unless header)Resource temporarily resides at different URI; client keeps requesting original URL.
304Not Modified3xx RedirectionRFC 9110 §15.4.5N/AConditional GET match (ETag / If-Modified-Since); client uses local cached copy.
307Temporary Redirect3xx RedirectionRFC 9110 §15.4.8NoRedirect with guaranteed method preservation (POST remains POST, not GET).
308Permanent Redirect3xx RedirectionRFC 9110 §15.4.9Yes (default)Permanent redirect with guaranteed method preservation across redirects.
400Bad Request4xx Client ErrorRFC 9110 §15.5.1NoMalformed syntax, invalid JSON schema, or missing mandatory query parameters.
401Unauthorized4xx Client ErrorRFC 9110 §15.5.2NoAuthentication required; client must provide valid Bearer token or credentials.
403Forbidden4xx Client ErrorRFC 9110 §15.5.4NoAuthenticated identity lacks RBAC permissions to access resource; do not retry.
404Not Found4xx Client ErrorRFC 9110 §15.5.5YesOrigin server cannot find current representation for target resource.
409Conflict4xx Client ErrorRFC 9110 §15.5.10NoState conflict (e.g. unique constraint violation, optimistic lock mismatch).
429Too Many Requests4xx Client ErrorRFC 6585 §4NoRate limit quota exceeded; client must back off until Retry-After timestamp.
500Internal Server Error5xx Server ErrorRFC 9110 §15.6.1NoUnhandled server-side runtime exception or backend service crash.
503Service Unavailable5xx Server ErrorRFC 9110 §15.6.4NoServer temporarily overloaded or down for scheduled maintenance.
Defined by IETF RFC 9110 (HTTP Semantics) & RFC 9111 (HTTP Caching).

Key Parameters & Controls

Key Parameters & Controls
ParameterType / UnitDescriptionDefault
Status Code Searchstring / numberFilter HTTP status codes by exact integer code (e.g. 404, 502) or reason phrase semantics.403
Status Class FilterstringNarrow down status codes by 1xx (Informational), 2xx (Success), 3xx (Redirection), 4xx (Client Error), 5xx (Server Error), or Edge proxy codes.all
Cacheability FilterstringFilter by RFC 9111 HTTP caching properties: Cacheable, Non-cacheable, or Conditional responses.all

Pro Tips & Best Practices

Published in June 2022

Published in June 2022, RFC 9110 is the current authoritative standard, superseding older RFC 7231 and RFC 2616 across HTTP/1.1, HTTP/2, and HTTP/3.

401 Unauthorized vs 403 Forbidden

Always return 401 when the client is unauthenticated and include a WWW-Authenticate header. Return 403 when the client is authenticated but lacks required permission scopes.

All header simulation and decision

All header simulation and decision wizard calculations run entirely in browser memory. No authorization tokens, cookies, or request data leave your device.

Common Gotchas & Troubleshooting

⚠️502 Bad Gateway vs 504 Gateway Timeout in Reverse Proxies

A 502 means the upstream service crashed, terminated connection, or sent malformed headers. A 504 means the upstream service is alive but failed to reply before the proxy read timeout expired.

⚠️Browser Redirect Caching Issues with 301 and 308

Both 301 (Moved Permanently) and 308 (Permanent Redirect) are aggressively cached by modern browsers indefinitely. During development or API migration, use 302 or 307 temporary redirects.

Frequently Asked Questions

Why does RFC 9110 replace older RFC 7231 and RFC 2616?▼

RFC 9110 provides an unambiguous, unified specification for HTTP semantics across transport layers (TCP and QUIC). It harmonizes caching rules in RFC 9111 and clarifies method idempotency.

Why should 401 Unauthorized always send WWW-Authenticate?▼

RFC 9110 §15.5.2 mandates that origin servers send a WWW-Authenticate challenge header in 401 responses, specifying the accepted authentication scheme (e.g., Bearer, Basic, DPoP) to enable automated client token renewal.

What is the difference between 301 Moved Permanently and 308 Permanent Redirect?▼

RFC 7231 allows clients to rewrite a POST method to GET following a 301 redirect. RFC 7538 established status code 308 to strictly preserve the original HTTP method and request body for permanent redirects.

Are response headers inspected safely in this tool?▼

Yes. This tool operates 100% client-side ('use client'). No headers, cookies, API tokens, or server endpoints are ever transmitted to any remote logging server.