Re: Support byte range requests in django.views.static.serve

2014-08-28 Thread mdj2
I made a ticket in the hopes of drawing more attention to the patch: https://code.djangoproject.com/ticket/23382 On Sunday, April 13, 2014 8:30:37 PM UTC-7, md...@pdx.edu wrote: > > Is the Django community interested in supporting HTTP range requests in > django.views.static.serve >

Re: Support byte range requests in django.views.static.serve

2014-06-30 Thread Josh Smeaton
I'm actually +1 on the idea (I haven't looked at the patch). I use django-downloadview for streaming files which has support for the built in django server in development but testing that skipping/range works is impossible without deploying to a real web server. On Tuesday, 1 July 2014 11:20:28

Re: Support byte range requests in django.views.static.serve

2014-06-30 Thread matt
Here is the commit for adding HTTP range support. I tested it in late versions of Chrome, Firefox, Opera and IE. https://github.com/satchamo/django/commit/2ce75c5c4bee2a858c0214d136bfcd351fcde11d The RangedFileReader class may be superfluous but I'm not aware of anything in Django or the Python

Re: Support byte range requests in django.views.static.serve

2014-04-30 Thread phpdude
@googlegroups.com django-developers@googlegroups.com Date: 1 мая 2014 г. at 1:46:46 To: django-developers@googlegroups.com django-developers@googlegroups.com Subject:  Re: Support byte range requests in django.views.static.serve I am building a music player application with Django + nginx for which I need a

Re: Support byte range requests in django.views.static.serve

2014-04-30 Thread prathamesh juvatkar
I am building a music player application with Django + nginx for which I need a backend which supports byte range requests. Django is authenticating the media file correctly but django dev server does not support range requests (206 partial response). Nginx directly serves byte range requests

Re: Support byte range requests in django.views.static.serve

2014-04-14 Thread Russell Keith-Magee
On Tue, Apr 15, 2014 at 1:42 AM, Adrian Holovaty wrote: > On Sun, Apr 13, 2014 at 11:30 PM, wrote: >> >> Is the Django community interested in supporting HTTP range requests in >> django.views.static.serve? > > > I definitely support this. > > I've gotten bitten several times by the development s

Re: Support byte range requests in django.views.static.serve

2014-04-14 Thread Adrian Holovaty
On Sun, Apr 13, 2014 at 11:30 PM, wrote: > Is the Django community interested in supporting HTTP range requests in > django.views.static.serve > ? > I definitely support this. I've gotten bitten several times by the developmen

Re: Support byte range requests in django.views.static.serve

2014-04-14 Thread mdj2
Apparently, I don't know how to use Google groups. I think I sent something directly to Russell, and it wasn't posted here. Oops. Here it is again (from memory): It takes more than just running gunicorn. You'd have to setup Apache or Nginx in front. And if Django needs to handle the request fir

Re: Support byte range requests in django.views.static.serve

2014-04-13 Thread Alex Gaynor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'd be +1 on doing this -- I know we've always said that Django's static serve isn't for production use, but as video and audio are increasingly common on the web, Django should support them seemlessly. Alex PS: I'm of course open to other ways of

Re: Support byte range requests in django.views.static.serve

2014-04-13 Thread Russell Keith-Magee
On Mon, Apr 14, 2014 at 11:30 AM, wrote: > Is the Django community interested in supporting HTTP range requests in > django.views.static.serve? > > The primary benefit I see is that it makes files served up for and > "seek-able" with the django server. This generally isn't a problem > for small

Support byte range requests in django.views.static.serve

2014-04-13 Thread mdj2
Is the Django community interested in supporting HTTP range requests in django.views.static.serve ? The primary benefit I see is that it makes files served up for and "seek-able" with the django server. This generally isn't a