Re: [web2py] Re: Let the web server stream your files, not response.download!

2010-04-18 Thread Thadeus Burgess
Precisely! -- Thadeus On Sun, Apr 18, 2010 at 6:43 PM, mdipierro wrote: > I see. Than the current download function could be improved to take > advantage of this. > > On Apr 18, 3:01 pm, Thadeus Burgess wrote: >> It works with apache, as long as you install the module. >> >> Cherokee just h

[web2py] Re: Let the web server stream your files, not response.download!

2010-04-18 Thread mdipierro
I see. Than the current download function could be improved to take advantage of this. On Apr 18, 3:01 pm, Thadeus Burgess wrote: > It works with apache, as long as you install the module. > > Cherokee just has it enabled by default, and is the webserver I use currently. > > The advantages of X-S

Re: [web2py] Re: Let the web server stream your files, not response.download!

2010-04-18 Thread Thadeus Burgess
It works with apache, as long as you install the module. Cherokee just has it enabled by default, and is the webserver I use currently. The advantages of X-Sendfile is that you still get to have permissions on downloads, its simply, if they are not authorized, do not set a x-sendfile header. You

[web2py] Re: Let the web server stream your files, not response.download!

2010-04-18 Thread mdipierro
Is this cherokee specific? Would it work on apache? Just a comment. This will bypass db.table.field.authorize so auth permissions on downloads will not be enforced. Massimo On Apr 18, 11:34 am, Thadeus Burgess wrote: > http://bit.ly/ar4k8X > > -- > Thadeus > > -- > Subscription settings:http://