206 Partial Content

The response contains a requested portion of a representation, as used by resumed downloads and media seeking.

All HTTP status codes

What does HTTP 206 mean?

Large downloads do not always begin at the first byte. A client can request a range and receive 206 for the portion supplied. For multipart ranges, each part carries its own Content-Range. Problems appear when a cache confuses partial and full responses, validators change during a resume, or a proxy drops range handling. Diagnose the representation version as well as the numerical range.

An investigation example

Illustrative download investigation
Request: bytes 1000000-1999999 of a report archive
Response: 206 Partial Content
Proxy returns bytes from an older archive revision.
Action: correct cache validation and resume handling.
Verify: resumed and fresh downloads produce the same final checksum.

When this response is used

  • A video player requests the part of a file needed at the current playback position.
  • A download client resumes from a stored offset instead of downloading the file again.

Diagnose the response

Compare the requested range with the returned Content-Range and the actual bytes delivered through the public route.

  • Compare Range with Content-Range and the actual body length. The returned bytes must correspond to the selected representation, including any relevant content encoding.
  • When resuming, use a strong ETag or a suitable Last-Modified date with If-Range; weak ETags are not valid for this condition. If the source changed, combining old and new byte ranges can corrupt the file.
  • Check CDN and origin range support if seeking or resuming fails. Test both a valid range and a request beyond the resource length, which may return 416.

What it means for website monitoring

A homepage check does not prove media seeking or download resumption works. If these matter to the site, test ranges against representative files and inspect the public delivery layer.

Reference