HTTP

HTTP 203 Non-Authoritative Information vs 226 IM Used

Both HTTP 203 (Non-Authoritative Information) and 226 (IM Used) 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, 226 means that the server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations.

描述

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 has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations.

何时出现

When using delta encoding to reduce bandwidth.

如何修复

Rarely encountered. The response uses Instance Manipulations (IM) as specified.

主要区别

1.

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

2.

HTTP 226: The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations.

3.

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

4.

You encounter 226 when when using delta encoding to reduce bandwidth.

何时使用哪个

For 203 (Non-Authoritative Information): Check if a proxy is modifying the response. Access the origin directly if you need the original content. For 226 (IM Used): Rarely encountered. The response uses Instance Manipulations (IM) as specified.

了解更多