[Zope-dev] Streaming Response
Chris Withers
chrisw@nipltd.com
Mon, 21 Apr 2003 14:51:24 +0100
Dieter Maurer wrote:
> > If the whole thing is indeed loaded into memory, then it pretty much defeats
> > the purpose of this code.
>
> I agree.
>
> Change it to:
>
> while data is not None:
> RESPONSE.write(data.data)
> ndata= data.next
> data._p_deactivate()
> data= ndata
Has anyone tested this works?
If so, has anyone checked it in?
If not, could someone open a collector issue so I can check it in ;-)
cheers,
Chris