title: How do I make Flask stream a static file with HTTP 206 Partial Content?
body: <p>I want to use a looping video on a site made powered by Flask. Apparently, Chrome will not loop the video, <a href="https://stackoverflow.com/a/9549404/568855">unless it was streamed with an HTTP 206 code being returned</a>. Flask, however, always returns this static file with an HTTP 200. How do I stream static content from my Flask project (hosted on Heroku, for the record) to make the video correctly loop in Chrome?</p>