HTTP

HTTP 102 Processing vs 300 Multiple Choices

HTTP 102 (Processing) is a 1xx Informational response, while 300 (Multiple Choices) is a 3xx Redirection 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, 300 means that the request has more than one possible response. The client should choose one of them.

描述

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 request has more than one possible response. The client should choose one of them.

何时出现

When a resource is available in multiple formats (e.g., different languages or media types).

如何修复

Select the appropriate resource variant. Send an Accept header with your preferred content type.

主要区别

1.

102 is a 1xx Informational response, while 300 is a 3xx Redirection 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 300: The request has more than one possible response. The client should choose one of them.

4.

You encounter 102 when during long-running WebDAV operations.

5.

You encounter 300 when when a resource is available in multiple formats (e.g., different languages or media types).

何时使用哪个

For 102 (Processing): Wait for the final response. This is an interim status to prevent timeouts. For 300 (Multiple Choices): Select the appropriate resource variant. Send an Accept header with your preferred content type.

了解更多