Re: Sending large, generated files

2009-04-15 Thread Alex Loddengaard
7;ll give this a go in WSGI and see what happens. In the meantime, I suppose the empty gzipped file gets the job done. Thanks again for all the responses. Go Django! Alex On Wed, Apr 15, 2009 at 8:36 AM, Rick Wagner wrote: > > > > On Apr 14, 6:55 pm, Graham Dumpleton >

Sending large, generated files

2009-04-14 Thread Alex Loddengaard
I've found several messages on this list discussing ways to send large files in a HttpResponse. One can use FileWrapper, or one can use a generator and yield chunks of the large file. What about the case when the large file is generated at HTTP request time? In this case, it would be annoying to