202 Accepted

Estimated reading: 1 minute 911 views

This HTTP response code indicates that the command sent was accepted by the server. The response also indicates that processing has not been completed or started yet.

The accepted response may still return an error if the request is not allowed on the server once processing is attempted.

This response code is non-commital, providing no guarantees. HTTP doesn’t have the ability for asynchronous responses, which prevents it from communicating the result of the request.

Most users will only see this response through client-server communication that have sequential or batch processing requests.

The HyperText Transfer Protocol (HTTP) 202 Accepted response status code indicates that the request has been accepted for processing, but the processing has not been completed; in fact, processing may not have started yet. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place.

202 is non-committal, meaning that there is no way for the HTTP to later send an asynchronous response indicating the outcome of processing the request. It is intended for cases where another process or server handles the request, or for batch processing.

Status

202 Accepted

Specifications

SpecificationTitle
RFC 7231, section 6.3.3: 202 AcceptedHypertext Transfer Protocol (HTTP/1.1): Semantics and Content