[Zope3-dev] RFC: Make HTTP streaming of large data simpler

Christian Theune ct at gocept.com
Tue Dec 6 03:03:21 EST 2005


Hi,

Am Montag, den 05.12.2005, 11:13 -0500 schrieb Jim Fulton:

> For A, you want to compute that data and then leave
> application code.  You don't want to stay in the
> application, holding application resources, like database
> connections, while the data is being consumed.  In this case,
> you generally want to create a temporary file and return that
> as the IResult body.  This means that implementations like
> the one you give:

So in any case, to get bug 480 tackled, which is my intention here, I'd
be good to do it via a temporary file and pass that back either via
adaption or wrapping it into an IResult-thingy.

Now I wonder whether I _do_ have to provide the headers which are set
automatically right now ...

Cheers,
Christian

-- 
gocept gmbh & co. kg - schalaunische str. 6 - 06366 koethen - germany
www.gocept.com - ct at gocept.com - phone +49 3496 30 99 112 -
fax +49 3496 30 99 118 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20051206/94896ded/attachment-0001.bin


More information about the Zope3-dev mailing list