[Zope-dev] Browser Timeout
Andre Schubert
andre.schubert@geyer.kabeljournal.de
Thu, 31 May 2001 09:14:51 +0200
Hi,
If have tested RESPONSE.write with the following function
def test(self,REQUEST=None,RESPONSE=None):
""" Test RESPONSE.write"""
RESPONSE.setStatus('200')
RESPONSE.setHeader('Content-Type','text/html')
RESPONSE.write('<html>')
**** Here is the body-processing wich takes several time *****
RESPONSE.write('</html>')
I tested with lynx. If i type http://somewhere.com/foo/test i got no
response because timeout, this means, that RESPONSE.setStatus and the first
RESPONSE.write are sent back to the client if the body processing is done,
but i would send every command as it is processed back to the client.
Or is it my Zope( 2.2.4 ) on Immunix 6.2 RedHat.
as
"R. David Murray" schrieb:
> On Wed, 30 May 2001, Andre Schubert wrote:
> > Is it right, the the browser send a request and got the response when
> > the site is completly rendered( all queries executed ) ?
> > If yes, how can i directly write to the client. First all headers, and
> > after every query send the data to the client, if i can do this, then
> > there will be no timeout.
>
> RESPONSE.write
>
> --RDM
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )