RangesSpecifier
Range specifier for partial content requests (RFC 2616 sec 14.35.1)
Constructors
Link copied to clipboard
Link copied to clipboard
fun RangesSpecifier(unit: String = RangeUnits.Bytes.unitToken, ranges: List<ContentRange>)
Content copied to clipboard
Functions
Link copied to clipboard
Merges all overlapping and neighbours ranges. Currently gaps collapse is not supported but should be, one day.
Resolve and merge all overlapping and neighbours ranges
Link copied to clipboard
Merge all ranges into a single absolute long range