You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
206 Partial Content is incorrectly implemented causing some video files (MP4) to fail. This is caused by the introduction of range headers in a567b6f in issue #2140
Expected behavior
According to RFC 2616, the byte-range-resp-spec should be (first-byte-pos "-" last-byte-pos).
For example, if the resource is of length 1234 and the range request is for bytes 500-, the range should be 500-1233/1234
If my resource is 229,255 bytes and I request it with:
206 Partial Content is incorrectly implemented causing some video files (MP4) to fail. This is caused by the introduction of range headers in a567b6f in issue #2140
Expected behavior
According to RFC 2616, the
byte-range-resp-spec
should be(first-byte-pos "-" last-byte-pos)
.For example, if the resource is of length
1234
and the range request is forbytes 500-
, the range should be500-1233/1234
If my resource is 229,255 bytes and I request it with:
I expect:
Actual behavior
Currently, when my resource is 229,255 bytes and I request it with karma v1.2.0:
I am receiving:
Few things are wrong here:
bytes 0-229254/229255
instead of0-229255/229255
Accept-Ranges
Also I recommend we use range-parser for this.
Environment Details
Introduced in Karma v1.2.0. In v1.1.2, this is fine.
Fails in Chrome 52 and Chrome 53, in Mac OS X, Windows and Ubuntu.
Steps to reproduce the behaviour
files
to serve a small MP4 asset in Chrome 52 or Chrome 53.The text was updated successfully, but these errors were encountered: