HTTP 200 OK vs 206 Partial Content
Both HTTP 200 (OK) and 206 (Partial Content) belong to the 2xx Success category. 200 indicates that the request succeeded. The meaning depends on the HTTP method: GET returns the resource, POST reports the action result, HEAD returns headers only. 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.
Descrição
The request succeeded. The meaning depends on the HTTP method: GET returns the resource, POST reports the action result, HEAD returns headers only.
Quando você o vê
The most common HTTP response — indicates the request was processed successfully.
Como corrigir
No fix needed. The request succeeded as expected.
Descrição
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.
Quando você o vê
During video streaming, large file downloads, or when resuming interrupted downloads.
Como corrigir
No fix needed. This is normal behavior for range requests.
Diferenças principais
HTTP 200: The request succeeded. The meaning depends on the HTTP method: GET returns the resource, POST reports the action result, HEAD returns headers only.
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 200 when the most common HTTP response — indicates the request was processed successfully.
You encounter 206 when during video streaming, large file downloads, or when resuming interrupted downloads.
Quando usar qual
For 200 (OK): No fix needed. The request succeeded as expected. For 206 (Partial Content): No fix needed. This is normal behavior for range requests.