Parses this's Content-Range header and returns it in start, end, and
total_length.
If the total length field in the header was specified as "*", then total_length will be set to -1.
On success start and end are always non-negative, end is not before start, and
end is within total_length if that was given, so they can be used directly as offsets into the response body. The
out parameters are left untouched if the header cannot be parsed.
| this | |
| start |
return value for the start of the range |
| end |
return value for the end of the range |
| total_length |
return value for the total length of the resource, or null if you don't care. |
|
true if this contained a "Content-Range" header containing a byte range which could be parsed, false otherwise. |