5.4. Range Requests

When an object download has been interrupted, the client may already have received a large portion of the object. The client could then use a range request header to download only the missing parts. The range header specifies the byte range of the entity being requested. In principle, the request may contain several range headers that specify multiple disjoint portions of the entity. Requests with range headers are called range requests. The server executes the request with range headers normally, but it may return just the specified portions of the object, in which case it uses "206 Partial Content" status code instead of "200 OK."

In addition, if the interrupted download included the ETag header, the client also has the ...

Get Web Caching and Replication now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.