HTTP

HTTP 102 Processing vs 103 Early Hints

Both HTTP 102 (Processing) and 103 (Early Hints) belong to the 1xx Informational category. 102 indicates that the server has received and is processing the request, but no response is available yet. Prevents the client from timing out. Meanwhile, 103 means that used to return some response headers before the final HTTP message. Allows the browser to start preloading resources while the server prepares the response.

描述

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.

描述

Used to return some response headers before the final HTTP message. Allows the browser to start preloading resources while the server prepares the response.

何时出现

When a server wants the browser to start loading CSS/JS before the full response is ready.

如何修复

No fix needed. This optimization helps speed up page loading.

主要区别

1.

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

2.

HTTP 103: Used to return some response headers before the final HTTP message. Allows the browser to start preloading resources while the server prepares the response.

3.

You encounter 102 when during long-running WebDAV operations.

4.

You encounter 103 when when a server wants the browser to start loading CSS/JS before the full response is ready.

何时使用哪个

For 102 (Processing): Wait for the final response. This is an interim status to prevent timeouts. For 103 (Early Hints): No fix needed. This optimization helps speed up page loading.

了解更多