How do web browsers display progress bars if they don't know the file size?
Posted
by Mark
on Stack Overflow
See other posts from Stack Overflow
or by Mark
Published on 2010-05-07T03:12:22Z
Indexed on
2010/05/07
5:08 UTC
Read the original article
Hit count: 261
I'm writing a download manager, and I've noticed that all the web pages I've encountered don't seem to set the ContentLength
header, whereas other media types (images) do. However, when I load a page (in Firefox), I get a progress as it loads. What's that based off if not file size?
© Stack Overflow or respective owner