Serve a binary/static file from view callable (with paste.fileapp?)

2011-09-20 Thread Jasper
Hi everyone, I'd like to serve a (sometimes larger) binary file from one of my views. It seems the preferred method of doing this is with paste.fileapp.FileApp: http://stackoverflow.com/questions/2413707/stream-a-file-to-the-http-response-in-pylons (see last response) docs:

Re: Serve a binary/static file from view callable (with paste.fileapp?)

2011-09-20 Thread Gael Pasgrimaud
Hi, On Tue, Sep 20, 2011 at 3:12 PM, Jasper jap...@gmail.com wrote: Hi everyone, I'd like to serve a (sometimes larger) binary file from one of my views. It seems the preferred method of doing this is with paste.fileapp.FileApp:

Re: Serve a binary/static file from view callable (with paste.fileapp?)

2011-09-20 Thread Jasper van den Bosch
Thanks! On 20 September 2011 15:42, Gael Pasgrimaud g...@gawel.org wrote: Hi, On Tue, Sep 20, 2011 at 3:12 PM, Jasper jap...@gmail.com wrote: Hi everyone, I'd like to serve a (sometimes larger) binary file from one of my views. It seems the preferred method of doing this is with