On Apr 20, 2006, at 3:54 AM, Philipp von Weitershausen wrote:
Chris McDonough wrote:
Actually, "stream iterator" support is independent of blobs.
Right. Also, dealing with long-living requests or dribbling data piece
by piece is substantially something different than streaming large
to the user agent without holding application resources forever.
sure Zope 2 actually differentiates between those two.
It indeed does. The former is implemented as RESPONSE.write, the
latter is implemented as returning something implementing
IStreamIterator to the publisher.
There was some talk a while back about Zope 3 implementing some
"IResult" interface that allowed for streaming. I'm not sure
ended up, though. I seem to remember Jim checking something in.
Yes, there is support for streaming large data without holding
application resources. What you do is write the data to a (temp)
return the file object. The zope.publisher will know what to do. The
"IResult" interface was made private and nowadays just an
Right, now I remember. Thanks.
Zope3-users mailing list