[Zope-dev] Streaming Response
Toby Dickenson
tdickenson@geminidataloggers.com
Tue, 8 Apr 2003 08:20:37 +0100
On Tuesday 08 April 2003 1:20 am, Danny W. Adair wrote:
> I would like to use Response.write() to push my status messages on the fly.
> Since I don't know which function calls will succeed and which will fail, I
> do not know "Content-Length" in advance. Therefore, I would like to use a
> streaming/chunked response as specified in HTTP 1.1.
>
> How do I do this in Zope?
Just use RESPONSE.write and ZServer will take care of the rest automatically.
--
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson