HTTP

HTTP 103 Early Hints vs 205 Reset Content

HTTP 103 (Early Hints) is a 1xx Informational response, while 205 (Reset Content) is a 2xx Success response. 103 indicates 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. In contrast, 205 means that the server fulfilled the request and the client should reset the document view (e.g., clear a form).

説明

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.

説明

The server fulfilled the request and the client should reset the document view (e.g., clear a form).

このコードが表示される場合

After form submissions where the server wants the client to reset the form for new input.

解決方法

The client should clear the form or reset the view. Rarely used in practice.

主な違い

1.

103 is a 1xx Informational response, while 205 is a 2xx Success response.

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.

HTTP 205: The server fulfilled the request and the client should reset the document view (e.g., clear a form).

4.

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

5.

You encounter 205 when after form submissions where the server wants the client to reset the form for new input.

どちらをいつ使うか

For 103 (Early Hints): No fix needed. This optimization helps speed up page loading. For 205 (Reset Content): The client should clear the form or reset the view. Rarely used in practice.

詳しく見る