Visual RFC.
ALL RFCs / RFC 9110
Read the RFC ↗
RFC 9110 / RESPONSES AND BOUNDARIES

Status codes & redirects

08

Status codes report progress, success, redirection, client errors, or server errors.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

DIAGRAM§ 15 ↗
RFC 9110 · § 15EXAMPLE
4 / 4
Status codes & redirectsThe status-code families branch into five outcomes, followed by a 202 Accepted example and method-preserving redirect behavior.The status selects the next actionIllustrative response classes1xxprogress2xxsuccess3xxredirect4xxclient error5xxserver errorPOST /jobs202 Accepted · processing is not completeClient distinguishes acceptance from completionRedirect: 307 / 308 preserve the request methodReconstruct redirects using method rules
04
Handle redirects with method rules.

When redirected, reconstruct the request and assess fields and credentials for the new target.

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
KEY POINT

Interpret the status before acting on content.

  • 1xx is informational, 2xx successful, 3xx redirection, 4xx client error, and 5xx server error.
  • 201 indicates creation; 202 means accepted for processing, without promising completion; 204 has no content.
  • 303 directs retrieval elsewhere. 307 and 308 preserve the method; 301 and 302 allow a historical POST-to-GET change.
DETAILS

A redirect creates a new request with its own authority and credential considerations. Do not indiscriminately forward sensitive fields to a different origin.

Read the RFC section ↗

Diagrams simplify the RFC. Read the linked sections for complete requirements.

Privacy
All chapters in this RFC
  1. One meaning, many transports
  2. Targets, origins & intermediaries
  3. Fields, content & representations
  4. Methods & retry safety
  5. Content negotiation
  6. Validators & conditional requests
  7. Range requests
  8. Status codes & redirects
  9. Caches & revalidation
  10. Authentication, security & extensions

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗