29
Is there an existing implementation of HTTP byte ranges in Django? I.e. when the client sends a Range: header, I want my Django app to accept that and reply with a HTTP "206 Partial Content" response.
I could write something from scratch, but surely someone has already done this?
There are various parts to this:
- Parsing and sanity checking the Range header
- Actually generating the ranges
- Support for returning a single range in the response
- Support for returning multiple ranges in a single response, appropriately MIME encoded
Surely at least (1) and (4) have library support somewhere?