🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4892

Re: TIdHTTP end of content problem

#4892
From: Ted Tripp
Date: Sat, 04 Dec 2004 21:33
19 lines
1853 bytes
I didn't think that value was reliable--value, I believe, comes from server 
and may or may not be accurate if it exists at all.  Correct?
I was thinking of looking at bytes read at OnWorkEnd and comparing it to the 
string length, or something like that.
Ted

"hans galema" <notused@notused.nl> wrote in message 
news:41b22bc8@newsgroups.borland.com...
> Ted Tripp wrote:
>> Just looked at it again through the CPU debug.  The entire page is there, 
>> but there is a 00 byte at the point in question--String will stop there. 
>> Hmmmmmmmm.  Seems everything is there if one could figure out where the 
>> real end is...
>
> That is easily done by first executing a Head statement.
> In the header there is a line:
> Content-length: xxxx
>
> Hans. 
Technical Details
Message-ID: <41b22d1e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41b15c54$1@newsgroups.borland.com> <41b1f061@newsgroups.borland.com> <41b22703@newsgroups.borland.com> <41b22bc8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6b94060483c79e05
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Ted Tripp" <ttripp@rankexec.com>
From: "Ted Tripp" <ttripp@rankexec.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41b15c54$1@newsgroups.borland.com> <41b1f061@newsgroups.borland.com> <41b22703@newsgroups.borland.com> <41b22bc8@newsgroups.borland.com>
Subject: Re: TIdHTTP end of content problem
Date: Sat, 4 Dec 2004 15:33:17 -0600
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 216.160.57.213
Message-ID: <41b22d1e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102195998 216.160.57.213 (4 Dec 2004 13:33:18 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail