Article View: borland.public.cppbuilder.internet.web
Article #948Re: How to make TIdHTTP::Get() show it's current progress-state?
From: Remy Lebeau (TeamB)
Date: Wed, 15 Feb 2006 18:17
Date: Wed, 15 Feb 2006 18:17
17 lines
1645 bytes
1645 bytes
<MR> wrote in message news:okj5v11entds8ea5fs7q8u8n1j2ve1sj33@4ax.com... > Fortunately/Unfurtunately with my tries I get always(!) useful > information in TIdHTTP.Response.ContentLength That is not always guaranteed. > I suppose TIdHTTP.Response.ContentLength has a value of 0 > if the real size could not be find out in advance!? No. It will be -1 , not 0, if the 'Content-Length' header is not present. Also, the HasContentLength property will be False, in which case the value of the ContentLength property has to be ignored. Gambit
Technical Details
Message-ID:
<43f37208$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<rpl1v11s7qjgne4qgo2ihebrn2of6sg3iu@4ax.com> <43f113b7@newsgroups.borland.com> <uaq2v1pj3n56hemn0hjimm4cpacb8rnibg@4ax.com> <43f19d5d$1@newsgroups.borland.com> <okj5v11entds8ea5fs7q8u8n1j2ve1sj33@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,1a9645b22bbe86cb X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <rpl1v11s7qjgne4qgo2ihebrn2of6sg3iu@4ax.com> <43f113b7@newsgroups.borland.com> <uaq2v1pj3n56hemn0hjimm4cpacb8rnibg@4ax.com> <43f19d5d$1@newsgroups.borland.com> <okj5v11entds8ea5fs7q8u8n1j2ve1sj33@4ax.com> Subject: Re: How to make TIdHTTP::Get() show it's current progress-state? Date: Wed, 15 Feb 2006 10:17:19 -0800 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <43f37208$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1140027912 68.69.17.41 (15 Feb 2006 10:25:12 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail