[Zope-dev] Streaming Response

Johan Carlsson [EasyPublisher] johanc@easypublisher.com
Tue, 08 Apr 2003 07:39:42 +0000


>At 05:58 PM 4/7/2003 -0700, Brett Carter wrote:
>><snip>
>>
>> > 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.


What happens if Content-Length isn't set or set to an
incorrect number (for instance larger that the expected result)?

What does the standard say and how do browsers actually behave?

Best Regards,
Johan Carlsson



-- 
Easy Publisher Developers Team
Johan Carlsson
johanc@easypublisher.com

Mail:
Birkagatan 9
SE-113 36  Stockholm
Sweden

Phone +46-(0)8-31 24 94
Fax +46-(0)8-675 04 44
Mobil +46-(0)70-558 25 24
http://www.easypublisher.com