Re: Passing file contents to output w/o reading it to memory

2008-04-30 Thread vv2
On Apr 30, 3:39 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Although Django can be hosted on WSGI, I am not sure if it makes use > of this if it is available. I know it is mentioned in django/core/ > servers/basehttp.py, and that there are are means of specifying > platform specific ways of

Re: Passing file contents to output w/o reading it to memory

2008-04-29 Thread Graham Dumpleton
On Apr 30, 11:44 am, vv2 <[EMAIL PROTECTED]> wrote: > Hi there, > > I just noticed latest changeset in django-trunk (http:// > code.djangoproject.com/changeset/7510) and I started wondering if it > is possible to pass file contents to output without actually storing > it in memory. > > So, the que

Passing file contents to output w/o reading it to memory

2008-04-29 Thread vv2
Hi there, I just noticed latest changeset in django-trunk (http:// code.djangoproject.com/changeset/7510) and I started wondering if it is possible to pass file contents to output without actually storing it in memory. So, the question is: Is there anything like PHP's fpassthru() function (http: