🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1082

Re: How to show the Headers (OnBeforeNavigate2)

#1082
From: Remy Lebeau (TeamB)
Date: Tue, 04 Oct 2005 15:40
23 lines
1674 bytes
"Enrique" <enridp@yahoo.com.ar> wrote in message
news:43424801@newsgroups.borland.com...

> no headers are actually sent to the OnBeforeNavigate2 event;
> the string is empty.

As it should be.  OnBeforeNavigate2, as it name implies, is triggered before
the browser actually navigates anywhere.  The headers have not been
generated yet.

> Is there a way to capture or view the headers sent in each
> http request made by the TCppWebBrowser?

No.

The purpose of having a Headers parameter in that event is so that you can
provide your own custom heades.  When the browser actually navigates to the
URL, those headers will then be appended to whatever headers the browser
will be sending for itself.


Gambit
Technical Details
Message-ID: <4342a254$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43424801@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f1e443378e29aebd
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: <43424801@newsgroups.borland.com>
Subject: Re: How to show the Headers (OnBeforeNavigate2)
Date: Tue, 4 Oct 2005 08:40:45 -0700
Lines: 25
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: <4342a254$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1128440404 68.69.17.41 (4 Oct 2005 08:40:04 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail