HTTP 206 Partial Content vs 226 IM Used
Both HTTP 206 (Partial Content) and 226 (IM Used) belong to the 2xx Success category. 206 indicates 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. 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.
Mô tả
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.
Khi bạn thấy mã này
During video streaming, large file downloads, or when resuming interrupted downloads.
Cách khắc phục
No fix needed. This is normal behavior for range requests.
Mô tả
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.
Khi bạn thấy mã này
When using delta encoding to reduce bandwidth.
Cách khắc phục
Rarely encountered. The response uses Instance Manipulations (IM) as specified.
Sự khác biệt chính
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.
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.
You encounter 206 when during video streaming, large file downloads, or when resuming interrupted downloads.
You encounter 226 when when using delta encoding to reduce bandwidth.
Khi nào dùng cái nào
For 206 (Partial Content): No fix needed. This is normal behavior for range requests. For 226 (IM Used): Rarely encountered. The response uses Instance Manipulations (IM) as specified.