swift should return Accept-Ranges header

Bug #750752 reported by John Dickinson on 2011-04-04
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Low
Scott Simpson

Bug Description

swift should send an "Accept-Ranges: bytes" header on responses to (at least) GET and HEAD requests

Related branches

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. :)

Changed in swift:
assignee: nobody → ssimpson (sasimpson)
Changed in swift:
status: New → Fix Committed
Thierry Carrez (ttx) on 2011-05-31
Changed in swift:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers