Re: [Zope] HTTPResponse

2006-09-29 Thread Pascal Peregrina
product was sending the whole HTML code of the page as a string... Pascal > De : Dieter Maurer <[EMAIL PROTECTED]> > Date : Fri, 29 Sep 2006 19:29:39 +0200 > À : Pascal Peregrina <[EMAIL PROTECTED]> > Cc : "zope@zope.org" > Objet : Re: [Zope] HTTPResponse >

Re: [Zope] HTTPResponse

2006-09-29 Thread Dieter Maurer
Pascal Peregrina wrote at 2006-9-29 15:14 +0200: >I would like to know what is the use of implementing the >Zpublisher.Iterators.IStreamIterator on the object returned as the body of a >HTTP response. > >As far as I could read the Zope code (Zserver, etc), this will make the >response data to be se

Re: [Zope] HTTPResponse

2006-09-29 Thread Chris McDonough
See also http://www.zope.org/Wikis/DevSite/Proposals/ FasterStaticContentServing On Sep 29, 2006, at 10:48 AM, Stefan H. Holek wrote: The point of stream iterators is not the chunk size, but that they are handed to Medusa (ZServer) right away. As a result the Zope thread is immediately free

Re: [Zope] HTTPResponse

2006-09-29 Thread Stefan H. Holek
The point of stream iterators is not the chunk size, but that they are handed to Medusa (ZServer) right away. As a result the Zope thread is immediately freed to serve new requests, while ZServer takes care of streaming the data to the client. Stefan On 29. Sep 2006, at 15:14, Pascal Pere

[Zope] HTTPResponse

2006-09-29 Thread Pascal Peregrina
Hi, I would like to know what is the use of implementing the Zpublisher.Iterators.IStreamIterator on the object returned as the body of a HTTP response. As far as I could read the Zope code (Zserver, etc), this will make the response data to be sent 64k at a time. So will this improve performanc