function getValueContentRangeHeader(type, size, range) {
  return `${type} ${range ? `${range.start}-${range.end}` : "*"}/${size}`;
}
@param {"bytes"} type type
@param {number} size size
@param {import("range-parser").Range=} range range
@returns {string} value of content range header