🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdHTTPResponseInfo WriteContent (or not)

#200
From: Remy Lebeau (TeamB)
Date: Thu, 10 Jul 2008 16:37
13 lines
1580 bytes
"WimB" <wim....@.....nl> wrote in message 
news:4875e25d$1@newsgroups.borland.com...

> Hi, I've created a webserver that servers pages and binaries etc.
> All works well, but I'm confused about the usage of WriteContent.
> Do I need to call this, or is it automatically called?

WriteContent() is called automatically after the OnCommandGet event handler 
exits, if the handler did send the response headers yet.


Gambit 
Technical Details
Message-ID: <48763b07$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!news-out.readnews.com!transit3.readnews.com!207.99.111.53.MISMATCH!newspeer1.nac.net!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <4875e25d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,849e342dec50f01
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4875e25d$1@newsgroups.borland.com>
Subject: Re: TIdHTTPResponseInfo WriteContent (or not)  
Date: Thu, 10 Jul 2008 09:37:04 -0700
Lines: 15
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <48763b07$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1215707911 207.178.157.90 (10 Jul 2008 09:38:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!news-out.readnews.com!transit3.readnews.com!207.99.111.53.MISMATCH!newspeer1.nac.net!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail