Status Code 202

Accepted

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

Details

Category

Success

Popularity

common

Recommended

Yes

Deprecated

No

Common Use Case

Asynchronous processing requests

Notes

Used for requests that are processed asynchronously.

RFC Reference

RFC 9110 HTTP/1.1 (2022)
Defines the HTTP/1.1 protocol, including semantics, caching, and connection management.

Description

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

HTTP Response Example

A typical server response for a 202 Accepted status code looks like:

HTTP/1.1 202 Accepted
Date: Sun, 22 Mar 2026 12:00:00 GMT
Server: httperrors.com
Content-Type: application/json

{
  "status": 202,
  "data": { ... }
}
Detailed Explanation

This status code is part of the success family, so its primary job is to confirm that the server understood the request well enough to move forward with it.

Historically, HTTP 202 Accepted should be read in light of RFC 9110. Standards text tends to focus on precise semantics, while production systems care about retries, user experience, dashboards, proxies, browsers, and documentation. Good engineering joins those two views instead of choosing one over the other. When teams treat a status code as both a protocol message and a product decision, they produce APIs and pages that are easier to operate and easier to trust.

A practical reading of this entry is that the server is communicating something very specific: The request has been accepted for processing, but the processing has not been completed. In day-to-day work, that meaning should be reflected across controllers, reverse proxies, API gateways, and frontend assumptions. If the server sends HTTP 202, but the response body, cache headers, or application behavior tell a different story, client code starts compensating for inconsistency and the whole stack becomes harder to reason about.

The supporting note for this entry is also important: Used for requests that are processed asynchronously. This often captures the gap between the formal specification and day-to-day engineering practice.

Good API design uses precise success codes to reduce ambiguity. That helps client authors avoid heuristics and allows monitoring systems to distinguish ordinary completions from special-case workflows.

In implementation terms, HTTP 202 Accepted should appear at a deliberate decision point in your request handling code. Avoid choosing it late as a cosmetic label after the rest of the response is already formed. Most clients should simply continue the intended flow once the surrounding protocol expectations are met. If your logs show this status frequently, the surrounding context should make it obvious whether the response reflects normal traffic or a design problem.

The normative anchor here is RFC 9110, with a direct reference at https://datatracker.ietf.org/doc/html/rfc9110#section-15.3.3. That RFC context matters because the exact words in the standard often settle edge cases around caching, retries, authentication, payload requirements, or intermediary behavior.

A useful way to compare HTTP 202 is against neighboring success codes. Even when another 2xx response would technically pass basic tests, a more precise choice reduces ambiguity for SDK authors and maintainers. This is one reason protocol precision pays off over time: the better your status taxonomy, the easier it becomes to debug client behavior, build metrics, and explain edge cases to other engineers.

From an operational perspective, HTTP 202 should be visible in logs, metrics, and alerts with enough surrounding metadata to explain why it happened. Popularity for this entry is listed as common, and that should influence how much defensive documentation and monitoring you add. Because the code is common, it is worth distinguishing healthy uses from suspicious spikes so routine traffic is not mistaken for a regression.

Search crawlers treat successful responses as candidates for indexing, but the exact downstream effect depends on the body, canonical tags, hreflang, and internal linking. A correct 2xx status gives the page a chance to rank, but it does not guarantee value or visibility on its own. For HTTP 202, the operational takeaway is that status correctness supports SEO indirectly by making crawl behavior more predictable. Pages, APIs, and edge routes should return this code only when its meaning is exactly true.

Since this code is marked as recommended, teams can confidently use it when the semantics are an exact match. The key word is exact. Recommendation does not mean convenience; it means the code is a strong standard choice when the surrounding conditions line up.

Because this code is not deprecated, it remains part of the active vocabulary that modern web systems can use. Even so, correctness still depends on discipline. A valid status code becomes harmful if teams reuse it as shorthand for several unrelated situations.

HTTP 202 Accepted is not marked as deprecated, which means it remains relevant for current systems so long as its semantics map cleanly to the behavior your endpoint is actually delivering.

The best way to think about HTTP 202 Accepted is not as trivia, but as a promise. It tells the caller what happened, what should happen next, and how much confidence the client can place in the current response. The example recorded for this entry is Asynchronous processing requests, and the note says Used for requests that are processed asynchronously.. Together with the specification link at https://datatracker.ietf.org/doc/html/rfc9110#section-15.3.3, those details give implementers enough context to use the code intentionally rather than mechanically. That is the standard worth aiming for in production systems.

Other HTTP status codes in the Success category

200 OK

The request has succeeded.

Reference: RFC 9110
Example usage:
Standard response for successful HTTP requests
Success
201 Created

The request has been fulfilled and resulted in a new resource being created.

Reference: RFC 9110
Example usage:
POST request successfully created a resource
Success
203 Non-Authoritative Information

The request was successful but the enclosed payload has been modified from the origin server's 200 OK response.

Reference: RFC 9110
Example usage:
Proxy modified the response
Success
204 No Content

The server successfully processed the request and is not returning any content.

Reference: RFC 9110
Example usage:
DELETE request successful
Success
205 Reset Content

The server successfully processed the request, but is not returning any content and requires that the requester reset the document view.

Reference: RFC 9110
Example usage:
Form submission successful, clear form
Success
206 Partial Content

The server is delivering only part of the resource due to a range header sent by the client.

Reference: RFC 9110
Example usage:
Video streaming, file downloads with resume
Success
207 Multi-Status

The message body contains multiple separate response codes.

Reference: RFC 4918
Example usage:
WebDAV batch operations
Success
208 Already Reported

The members of a DAV binding have already been enumerated in a previous reply to this request.

Reference: RFC 5842
Example usage:
WebDAV binding collections
Success
226 IM Used

The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.

Reference: RFC 3229
Example usage:
Delta encoding in HTTP
Success

HTTP status code data sourced from official IETF RFCs and standards.

© 2026 The open source reference for HTTP status codes