🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdHTTP end of content problem

#4890
From: hans galema
Date: Sat, 04 Dec 2004 21:27
11 lines
1492 bytes
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: <41b22bc8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41b15c54$1@newsgroups.borland.com> <41b1f061@newsgroups.borland.com> <41b22703@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
Date: Sat, 04 Dec 2004 22:27:22 +0100
From: hans galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: TIdHTTP end of content problem
References: <41b15c54$1@newsgroups.borland.com> <41b1f061@newsgroups.borland.com> <41b22703@newsgroups.borland.com>
In-Reply-To: <41b22703@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41b22bc8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102195656 129.125.201.248 (4 Dec 2004 13:27:36 -0800)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail