BloggingBIG Logo
Search
  • Blogs
  • How we work
  • Write Guest Post
Get started

HTTP Status Code 202 Accepted

by Kedar Dangal

  • 2 min read
    • HTTP Status
Share this content
HTTP Status Code 202 Accepted image

Navigation

  • What does status code 202 Accepted mean? 
  • Status
  • 202 Code References
  • Specifications
  • FAQs
    • What does error code 202 mean?
    • What are success status codes?
    • What is the difference between status code 202 Accepted vs 200 Ok?
  • Conclusion

What does status code 202 Accepted mean? 

The 2xx (Successful) class of status code indicates that the client’s request was successfully received, understood, and accepted.

The status code 202 accepted means, although the request has been approved for processing, it has not yet been finished. The request may or may not be fulfilled in the end, depending on whether it is denied during processing.

The HTTP response code 202 is non-committal, which means there is no mechanism for the HTTP to provide an asynchronous response stating the result of processing the request later. It’s designed for situations when the request is handled by another process or server, as well as batch processing.

Status

202 Accepted

202 Code References

Rails HTTP Status Symbolaccepted
Go HTTP Status Constant http.StatusAccepted
Symfony HTTP Status Constant Response::HTTP_ACCEPTED
Python2 HTTP Status Constant httplib.ACCEPTED
Python3+ HTTP Status Constant http.client.ACCEPTED
Python3.5+ HTTP Status Constant http.HTTPStatus.ACCEPTED

Specifications

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

FAQs

What does error code 202 mean?

The HTTP status code 202 Accepted response indicates that the request has been accepted for processing, but that processing has not yet begun.

What are success status codes?

The most popular code for indicating success is 201 Created, which means the request has been fulfilled and resulted in a new resource being created
If the operation can’t be completed right away, the server SHOULD instead respond with a 202 (Accepted) response.

What is the difference between status code 202 Accepted vs 200 Ok?

The response code 200 OK indicates that the request was successful and that our request is now being processed. The answer is the service’s last payload, and it will not take any further action.

202 Accepted, on the other hand, indicates that the request has been accepted for processing and that the service has begun. This does not imply that the processing was successful or that the procedure was completed.

Related Post: HTTP Status Code – 201 Created

Conclusion

I hope this article was able to help you with your doubts and queries related to HTTP status code 201 created. Still, if there are any questions you have that are unanswered, feel free to ask them in the comment section, we would be happy to assist you. Thank you.

Share
Tweet
Share
0 Shares
Kedar Dangal image

Kedar Dangal

Making a difference, Adding the sum.

Be first to comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

More from HTTP Status

HTTP Status Code 499 Client Closed Request image

HTTP Status Code 499 Client Closed Request

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 431 Request Header Fields Too Large image

HTTP Status Code 431 Request Header Fields Too Large

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 429-Too Many Request image

HTTP Status Code 429-Too Many Request

Saurabh Chalise image

by Saurabh Chalise

  • 4 min read
    • HTTP Status

Quick links

  • Siteground black friday deals
  • Wp engine black friday deals
  • Greengeeks black friday deals
  • Tmd hosting black friday deals
  • Fastcomet black friday deals
  • Hostwinds black friday deals
  • bluehost black friday
  • Namecheap black friday deals
  • Ionos 1 & 1 black friday deals
  • Hostgator black friday deals
  • ipage black friday deals
  • wpx hosting black friday deals
BloggingBIG logo
  • About
  • DISCLAIMER
  • Disclouser for Blogging BIG
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
Developed by Fnclick
Back To Top