Navigation
What does Status Code 102-Processing mean?
Status Code 102-Processing is one of the classes of 1xx(Informational) that indicates that the server has received the request and is processing the request, but does not have a final response yet.
In other words, Status code 102 is a rare status code that informs a client that the full request has been received, the server is working on that request, and the real status code will be sent back later.
This status was described first by WebDAV in [RFC2518] but was not included in succeeding WebDAV due to the lack of implementations.
It might help to avoid timeouts as it is a mechanism for the server to tell the client that it has not vanished yet.
Comparison of Status Code 102-Processing with 100 Continue
HTTP Status code 102 – Processing is similar to 100 Continue in the sense of receiving the request from the client and working on it. But 100 Continue might be returned immediately and 102 Processing might return only after the full request has been received from the client.
1xx headers should be ignored by the Good HTTP that they don’t understand. Therefore using HTTP Status code-102 Processing might be safe. A Client does not explicitly opt-in to the 102 Processing behavior, unlike 100 Continue.
Examples
[Clients sends request headers] |
HTTP/1.1 100 Continue |
[Clients sends request body] |
HTTP/1.1 102 Processing |
HTTP/1.1 102 Processing |
HTTP/1.1 200 OK Content-Type: application/json |
Status
102 Processing |
102 CODE REFERENCES
Rails HTTP Status Symbol | : processing |
Symfony HTTP Status Constant | Response::HTTP_PROCESSING |
Read more: HTTP Status Code 101
FAQs
What is HTTP Status Code 102(Processing)?
HTTP Status Code 102 is a 1xx(informational) status code that informs a client that the full request has been received, the server is working on that request, and the real status code will be sent back later.
What are the similarities between 100 Continue and 102 Processing?
102 – Processing is similar to 100 Continue in the sense of receiving the request from the client and working on that received request.
What are the differences between 100 Continue and 102 Processing?
Both 102 – Processing and 100 Continue I receive the request from the client and works on it. But 100 Continue might be returned immediately and 102 Processing might return only after the full request has been received from the client.
Conclusion
I hope this article was able to help you with your doubts and queries related to the HTTP status code 102(Processing). Still, if there are any queries related to this topic, feel free to ask in the comment section, we would be happy to assist you. Thank you.
Saurabh Chalise