function parseRangeHeader (range) {
  if (range == null || range === '') return { start: 0, end: null, size: null }

  const m = range ? range.match(rangeHeaderRegex) : null
  return m
    ? {
        start: parseInt(m[1]),
        end: m[2] ? parseInt(m[2]) : null,
        size: m[3] ? parseInt(m[3]) : null
      }
    : null
}
Parse accordingly to RFC 9110
@see https://www.rfc-editor.org/rfc/rfc9110#field.content-range
@param {string} [range]
@returns {RangeHeader|null}