HTTP/1.1 200 OK
Content-length: 5943424
Content-Type: audio/mpeg
Server: http-kit
with a bunch of bytes in the body. In fact, a bountiful buffet of beautiful bytes, five whole million of them! And another 943,424 thrown in for dessert.
This means that the standard HTTP <audio> tag player thingy refuses to seek in the file, instead jumping back to the beginning of the file every time one tries. :scream:
It would be lovely, bordering on spectacular, if http-server supported this. And I think I know just the guy to implement that support and then vomit out 7000 words about it. :roll_eyes:
When a browser makes a range request such as this:
According to our good friends over at the Mozilla Developer Network, it expects a response like this:
However, http-server currently returns this:
with a bunch of bytes in the body. In fact, a bountiful buffet of beautiful bytes, five whole million of them! And another 943,424 thrown in for dessert.
This means that the standard HTTP
<audio>
tag player thingy refuses to seek in the file, instead jumping back to the beginning of the file every time one tries. :scream:It would be lovely, bordering on spectacular, if http-server supported this. And I think I know just the guy to implement that support and then vomit out 7000 words about it. :roll_eyes: