Getting Content-Length

Giganews Newsgroups
Subject: Getting Content-Length
Posted by:  -Mr. Coder- (FelixLelch…
Date: Sat, 3 Apr 2004


do someone know, how to get the Content-Length (Size) of a file located on a
HTTP server (without downloading the whole file!) ?
I'd like to stop downloading after the header has been received.
I use TIdHTTP (Indy 9)

Thanks in advance

-Mr. Coder-