What does HTTP 202 mean?
The request was accepted for processing, but processing has not finished. Use 202 for asynchronous work — video encoding, report generation, bulk imports. Return a link where the client can poll the job status, because the final result is not known yet.
2xx Success: The request was received, understood and accepted.
202 and SEO
Not relevant for web pages.
Example response
HTTP/1.1 202 Accepted
How to return a 202 response
Node.js (Express)
res.status(202).json({ error: 'Accepted' });PHP
http_response_code(202);Python (Flask)
return {'error': 'Accepted'}, 202Go (net/http)
w.WriteHeader(202)nginx
return 202;
Related status codes
- 200 OK — The request succeeded and the response body contains the requested resource.
- 201 Created — The request succeeded and a new resource was created.
- 303 See Other — The client should fetch a different URL with GET.
Check which status code a URL returns with the HTTP header checker.