"Range" request: http://tools.ietf.org/html/rfc2616#section-14.35
"Range" request: http://tools.ietf.org/html/rfc2616#section-14.35
For simplicity only these specs are supported: bytes=123-456 bytes=123-
If the last-byte-pos value is present, it MUST be greater than or equal to the first-byte-pos in that byte-range-spec, or the byte- range-spec is syntactically invalid. The recipient of a byte-range- set that includes one or more syntactically invalid byte-range-spec values MUST ignore the header field that includes that byte-range- set.
If the last-byte-pos value is absent, or if the value is greater than or equal to the current length of the entity-body, last-byte-pos is taken to be equal to one less than the current length of the entity- body in bytes.