Contentstore streaming range

Currently, users can only download ContentStore files from first byte to last byte.

With this change, when a request to the ContentStore includes the HTTP "Range" parameter, it is parsed and StaticContentStream will stream the requested bytes.

This change makes possible to stream video files (.mp4 especially) from the ContentStore. Users can now seek a specific time in the video without loading all the file.

This is useful for courses with a limited number of students that doesn't require a dedicated video server.


Testing : Upload a .mp4 in Files & Uploads, add a Video XBlock in a Unit. You can now load the end of the video without loading everything. I tested it on Chrome and Firefox for mp4 videos.
You should provide `""` as a default value to the `get()` method. If the header isn't present, it'll return the default of None -- and on the next line, when you test if `=` is in that variable, it'll throw a TypeError. If you allow it to return a default value of the empty string, it won't throw a TypeError on the next line.