HTTP

HTTP 203 Non-Authoritative Information vs 205 Reset Content

Both HTTP 203 (Non-Authoritative Information) and 205 (Reset Content) belong to the 2xx Success category. 203 indicates that the response payload has been modified by a transforming proxy from the origin server's 200 response. Meanwhile, 205 means that the server fulfilled the request and the client should reset the document view (e.g., clear a form).

説明

The response payload has been modified by a transforming proxy from the origin server's 200 response.

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

When a proxy or CDN modifies the response body (e.g., adds headers, transforms content).

解決方法

Check if a proxy is modifying the response. Access the origin directly if you need the original content.

説明

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.

HTTP 203: The response payload has been modified by a transforming proxy from the origin server's 200 response.

2.

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

3.

You encounter 203 when when a proxy or CDN modifies the response body (e.g., adds headers, transforms content).

4.

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

どちらをいつ使うか

For 203 (Non-Authoritative Information): Check if a proxy is modifying the response. Access the origin directly if you need the original content. For 205 (Reset Content): The client should clear the form or reset the view. Rarely used in practice.

詳しく見る