HTTP

HTTP 102 Processing vs 408 Request Timeout

HTTP 102 (Processing) is a 1xx Informational response, while 408 (Request Timeout) is a 4xx Client Error response. 102 indicates that the server has received and is processing the request, but no response is available yet. Prevents the client from timing out. In contrast, 408 means that the server timed out waiting for the request. The client did not produce a request within the time the server was prepared to wait.

描述

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.

描述

The server timed out waiting for the request. The client did not produce a request within the time the server was prepared to wait.

何时出现

When a client takes too long to send the complete request (slow upload, network issues).

如何修复

Retry the request. Check your network connection. Reduce request payload size.

主要区别

1.

102 is a 1xx Informational response, while 408 is a 4xx Client Error response.

2.

HTTP 102: The server has received and is processing the request, but no response is available yet. Prevents the client from timing out.

3.

HTTP 408: The server timed out waiting for the request. The client did not produce a request within the time the server was prepared to wait.

4.

You encounter 102 when during long-running WebDAV operations.

5.

You encounter 408 when when a client takes too long to send the complete request (slow upload, network issues).

何时使用哪个

For 102 (Processing): Wait for the final response. This is an interim status to prevent timeouts. For 408 (Request Timeout): Retry the request. Check your network connection. Reduce request payload size.

了解更多