MessageHeaders.setRange

Sets hdrs's Range header to request the indicated range.

start and end are interpreted as in a structRange.

If you need to request multiple ranges, use soup.message_headers.MessageHeaders.setRanges.

class MessageHeaders
void
setRange
(
long start
,
long end
)

Parameters

start long

the start of the range to request

end long

the end of the range to request