cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
568 stars 105 forks source link

If-Range not working? #1277

Closed skinkie closed 2 years ago

skinkie commented 2 years ago

Many players currently employ Range bytes=... something. Cherokee returns the etag for the entire file not for the range downloaded.

Curl

< HTTP/1.1 200 OK
< Date: Sat, 19 Feb 2022 19:34:27 GMT
< Server: Cherokee
< ETag: "62114499=8b0660"
< Last-Modified: Sat, 19 Feb 2022 19:27:21 GMT
< Content-Type: audio/mpeg
< Content-Length: 9111136
< 

Chrome

If-Range: "62114499=8b0660"
Range: bytes=933888-9111135
Date: Sat, 19 Feb 2022 19:31:59 GMT
ETag: "62114499=8b0660"
Server: Cherokee
skinkie commented 2 years ago

Tested with an mpeg audio player: works.