Re: HTTP 206 (partial content) request support in StaticFileHandler?

338 views
Skip to first unread message

kzahel

unread,
Aug 7, 2012, 12:22:34 AM8/7/12
to python-...@googlegroups.com
I wrote support for it in my branch of tornado. I never got around to cleaning it up and making a pull request. But, it works great serving videos to chrome. See the code at:
https://github.com/kzahel/tornado_gen/blob/master/tornado/web.py#L1509
You shouldn't have too much trouble copying that in...

On Sunday, August 5, 2012 8:50:40 PM UTC-7, James Gao wrote:
Hi everyone,
I'm trying to serve up an html5 video file using tornado. There's a bug in Chrome that only allows seeking on videos which were fetched with the Range header. Are there plans to support the Range header and Partial Content requests in StaticFileHandler?

Thanks!
-James

Reply all
Reply to author
Forward
0 new messages