resteasy/Resteasy — pull request #338 by wbowling (2013-06-24 02:08:41+00:00)
Title: Range and Content-Range headers must start with "bytes"

The sent/parsed values for [Content-Range](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16) and [Range](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35) are not valid, causing the whole file to always be sent (clients will send through a value of bytes=0-499 resulting in a number format exception).

Content-Type should be:
`byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" ( instance-length | "*" )`

Range should be:
`byte-ranges-specifier = bytes-unit "=" byte-range-set`

Where [bytes-unit](http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.12) is "bytes".