[Zope] RESPONSE.write()

Dieter Maurer dieter@handshake.de
Thu, 30 Aug 2001 21:26:27 +0200 (CEST)


Paz writes:
 > What I would like to do is generally say:
 > RESPONSE.write(_.getitem('page'))
That's what happens without "RESPONSE.write"!
At least, if you replace "_.getitem('page')" with "_['page']").

The streaming protocol is *NOT* for this kind of use case,
but for large objects (images, videos, audios) you want to
stream to the client.

Search the mailing list archives for a solution when
you want to send partial pages to the client.
Someone posted a solution for this based on a
special "multipart" response.
Search for "multipart" to locate the thread....


Dieter