Feature #3734

Updated by Tom Clegg about 4 years ago

If a request has a Range header, read only the desired portion from the data volume, and return the segment with appropriate HTTP status (206) and headers (e.g., Content-Length: 10001, Content-Range: 1234-11234/100000).

Skip hash verification (this would
A client should be impossible without reading the whole block). If able to fetch a client needs to verify content hashes, it can either retrieve the whole partial block ahead of time and compute from Keep (e.g. using the checksums of each segment, or retrieve ranges Content-Range request header), in order and compute the hash piecewise. to retrieve just one file from a larger block.