Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

http - protocol

Started by JanT Aug 11, 2001 at 11:12 AM 0 replies 500+ views
Original Post
JanT
JanT
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?
Shannon Barber
Shannon Barber
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.