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.

Узнать больше