🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

http - protocol

Started by
0 comments, last by JanT 22 years, 10 months ago
I''m coding this little software which downloads some files from the Internet. So I''m asking how should I get the file sizes? I know theres the Content-Lenght - line, but not all servers seem to send it. Should it be requested somehow? I''ve read it should be sended. Does anyone know about this?
Advertisement
It''s supposed to be in the http header on the download, there''s a couple lines of text (it''s in there) then the binary data starts.

Magmai Kai Holmlor
- Not For Rent
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement