HTTP

HTTP 102 Processing vs 207 Multi-Status

HTTP 102 (Processing) is a 1xx Informational response, while 207 (Multi-Status) is a 2xx Success 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, 207 means that the response body contains status information for multiple resources, in situations where multiple status codes might be appropriate (WebDAV).

คำอธิบาย

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 response body contains status information for multiple resources, in situations where multiple status codes might be appropriate (WebDAV).

เมื่อคุณพบเห็น

In WebDAV operations that affect multiple resources simultaneously.

วิธีแก้ไข

Parse the XML body to check the status of each individual resource.

ความแตกต่างหลัก

1.

102 is a 1xx Informational response, while 207 is a 2xx Success 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 207: The response body contains status information for multiple resources, in situations where multiple status codes might be appropriate (WebDAV).

4.

You encounter 102 when during long-running WebDAV operations.

5.

You encounter 207 when in WebDAV operations that affect multiple resources simultaneously.

ควรใช้อันไหนเมื่อไร

For 102 (Processing): Wait for the final response. This is an interim status to prevent timeouts. For 207 (Multi-Status): Parse the XML body to check the status of each individual resource.

เรียนรู้เพิ่มเติม