Joakim Krassman wrote:
> Hi all,
> I hope that I managed to post this question to the right newsgroup,
> if not - be nice to me ;)
> 
> Question,
> I am looking at the http client and I want that component to get the
> total size of a webpage with all graphics, flash etc. 

Since the THttpCli is not a webbrowser you would have to follow all local
links on a webpage (download them and parse them to find local links). If
the server supports the Content-Length header you do not need to download
all graphics, flashs etc. to know their size.

> As I see it -
> it just looks at the header and sending this back as the result?
> Right or wrong? Is there anyone that do have a code snippet that
> actually tells me the exactly weight of all the content that the
> httpclient downloaded?

I do not know. Be creative it's not too difficult.

--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to