Posted by Anze on 03/21/07 08:40
>> Now: there is Keep-Alive header, but no Content-Length. How does the
>> browser know when the content is finished?
>
> does it have to know?
> mostly they take a stream and render it if they can.
Yes, they have to know - otherwise page rendering wouldn't be much stable.
Of course they try to render a page asap, but still... Coding a browser
that wouldn't know when a page ended would be unnecessarily much harder.
But this is solved through chunked encoding which I wasn't aware it existed.
Thank you for your answer!
Best,
Anze
[Back to original message]
|