HTTP 100 Continue vs 102 Processing
Both HTTP 100 (Continue) and 102 (Processing) belong to the 1xx Informational category. 100 indicates that the server has received the request headers and the client should proceed to send the request body. This lets the client know it can continue with the request or abort if the headers were rejected. Meanwhile, 102 means that the server has received and is processing the request, but no response is available yet. Prevents the client from timing out.
描述
The server has received the request headers and the client should proceed to send the request body. This lets the client know it can continue with the request or abort if the headers were rejected.
何时出现
When a client sends an Expect: 100-continue header, the server responds with 100 before the client sends the body.
如何修复
This is an interim response — no fix needed. The client should continue sending the request body.
描述
The server has received and is processing the request, but no response is available yet. Prevents the client from timing out.
何时出现
During long-running WebDAV operations.
如何修复
Wait for the final response. This is an interim status to prevent timeouts.
主要区别
HTTP 100: The server has received the request headers and the client should proceed to send the request body. This lets the client know it can continue with the request or abort if the headers were rejected.
HTTP 102: The server has received and is processing the request, but no response is available yet. Prevents the client from timing out.
You encounter 100 when when a client sends an Expect: 100-continue header, the server responds with 100 before the client sends the body.
You encounter 102 when during long-running WebDAV operations.
何时使用哪个
For 100 (Continue): This is an interim response — no fix needed. The client should continue sending the request body. For 102 (Processing): Wait for the final response. This is an interim status to prevent timeouts.