HTTP 203 Non-Authoritative Information vs 206 Partial Content
Both HTTP 203 (Non-Authoritative Information) and 206 (Partial 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, 206 means that the server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming.
描述
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 is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming.
何时出现
During video streaming, large file downloads, or when resuming interrupted downloads.
如何修复
No fix needed. This is normal behavior for range requests.
主要区别
HTTP 203: The response payload has been modified by a transforming proxy from the origin server's 200 response.
HTTP 206: The server is delivering only part of the resource due to a Range header sent by the client. Used for resumable downloads and video streaming.
You encounter 203 when when a proxy or CDN modifies the response body (e.g., adds headers, transforms content).
You encounter 206 when during video streaming, large file downloads, or when resuming interrupted downloads.
何时使用哪个
For 203 (Non-Authoritative Information): Check if a proxy is modifying the response. Access the origin directly if you need the original content. For 206 (Partial Content): No fix needed. This is normal behavior for range requests.