Comment 1 for bug 750752

Revision history for this message
James Broberg (james-broberg) wrote :

This would be very useful - I know "Accept-Ranges: bytes" is not mandatory but it is useful to advertise the fact that swift does support byte range requests.

"Accept-Ranges: bytes" is super useful for situations like HTML5 video playback (e.g. mp4, ogg, webm) on browsers like Chrome and Firefox - they look for it to check if byte range is supported, then do a byte range request to seek to the end of the file and check the duration of the file. You can then start playing a video straight away. If the server does not advertise the fact, playback is crappy as it can't stream/play straight away as it has to buffer the whole file to figure out the duration.

I hope the above makes sense. :)