0
我的服務器可以發送所有文件和文件的一部分。HTTP GET範圍(分區內容)
問題文件的示例。
<pre>
http://scir.bz/z/GOOD%20TO%20GREAT.mp3
</pre>
因此,Mozilla瀏覽器可以播放這些音頻文件,當我們將時間線移動,Mozilla瀏覽器播放它從中間。 但谷歌鉻不能做到這一點。我不明白,爲什麼?
例如:HTTP會話
Mozilla瀏覽器 - 服務器
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
HTTP/1.1 200 OK
Content-Type: audio/mp3
Content-Length: 489986541
Last-Modified: Thu, 06 Mar 2014 18:02:55 GMT
Etag: "55a3ee720b5551b7fbb0b28318576ae9c9deb1cc1394128975"
Accept-Ranges: bytes
在中間
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
Range: bytes=195002368-
HTTP/1.1 206 Partial Content
Content-Range: bytes 195002368-489986540/489986541
--jump - 並且我還可以繼續收聽文件
鉻--server
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
HTTP/1.1 200 OK
Content-Type: audio/mp3
Content-Length: 489986541
Last-Modified: Thu, 06 Mar 2014 18:02:55 GMT
Etag: "55a3ee720b5551b7fbb0b28318576ae9c9deb1cc1394128975"
Accept-Ranges: bytes
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
Range: bytes=0-
HTTP/1.1 206 Partial Content
Content-Range: bytes 0-489986540/489986541
上å文件
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
Range:bytes=333119449-489986540
HTTP/1.1 206 Partial Content
Content-Range: bytes 333119449-489986540/489986541
鉻中間--jump取消它,並嘗試
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
Range:bytes=333119448-489986540
HTTP/1.1 206 Partial Content
Content-Range: bytes 333119448-489986540/489986541
,但
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
Range:bytes=333119447-489986540
HTTP/1.1 206 Partial Content
Content-Range: bytes 333119447-489986540/489986541
,但
GET /z/GOOD%20TO%20GREAT.mp3 HTTP/1.1
Range:bytes=333119446-489986540
HTTP/1.1 206 Partial Content
Content-Range: bytes 333119446-489986540/489986541
PS提琴手顯示HTTP沒有錯誤