[Zope-dev] Serving large files

Dieter Maurer dieter at handshake.de
Mon Sep 18 14:50:36 EDT 2006


Sidnei da Silva wrote at 2006-9-17 16:09 -0300:
> ...
>c) If you use RESPONSE.write() you can break other
>   applications. ExternalEditor comes to mind.

If you know the size and set it in the "Content-Length" response
header, I cannot see a reason why it should break some applications.

> ...
>I would like to be able to return an iterator that can read from the
>ZODB.

Give the iterator a new ZODB (read only) connection;
close it when the iterator comes to its end.



-- 
Dieter


More information about the Zope-Dev mailing list