🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TWebResponse and Frames problem

#1363
From: Gordon Dooley
Date: Thu, 24 Feb 2005 15:09
65 lines
3064 bytes
Hi Hans

OK. The headers that I get returned are below. I have tried adding the
missing headers but still get the same problem. However, in playing around
with the links, I find that if I refer to the remote file with a relative
path (i.e. href="test4.htm") then everything works fine, whereas if I refer
to it with an absolute path (i.e. href=http://machine/path/test4.htm) I get
the same problem. This is also true for the cgi I am calling. This is now
starting to look like it is not a Borland problem but more likely a
Microsoft problem. I have solved the problem by converting all my links to
relative links and everything is working fine.

I am still interested in an explanation if you or anyone else can give one,
but since the immediate problem is solved I would not wish anyone to waste
time on my behalf.

Thank you for your help in this - I have learnt a lot and while the solution
was not directly related to your suggestions, I doubt that I would have got
there without them

Cheers

Gordon



*************** From TWebResponse ***************
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Thu, 24 Feb 2005 14:27:52 GMT
Content-Type: text/html
Title: Test
Content-Length: 44739
Content:




*************** From direct call ***************
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Thu, 24 Feb 2005 14:31:20 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Thu, 24 Feb 2005 13:38:12 GMT
ETag: "0ba8d15761ac51:a81"
Content-Length: 44739




"Hans Galema" <notused@notused.nl> wrote in message
news:421ddcf7$1@newsgroups.borland.com...
> Gordon Dooley wrote:
>
> > It appears that it is only scenario 1 that causes the problem.
>
> You could write a separate app using TIdHTTP or TNMHTTP
> to get both the static page from the webserver and the one
> produced by TWebResponse. Then compare the headers.
>
> The exampleproject that comes with builder for TNMHTTP can do
> that. So you could immediately use it.
>
> Hans.
Technical Details
Message-ID: <421dedb6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <421db012$1@newsgroups.borland.com> <421db98f$1@newsgroups.borland.com> <421dc5fe@newsgroups.borland.com> <421dd483$1@newsgroups.borland.com> <421dda1b@newsgroups.borland.com> <421ddcf7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,fe7d95cb9ff32958
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Gordon Dooley" <gdooley@nospam.update.co.uk>
Newsgroups: borland.public.cppbuilder.internet.web
References: <421db012$1@newsgroups.borland.com> <421db98f$1@newsgroups.borland.com> <421dc5fe@newsgroups.borland.com> <421dd483$1@newsgroups.borland.com> <421dda1b@newsgroups.borland.com> <421ddcf7$1@newsgroups.borland.com>
Subject: Re: TWebResponse and Frames problem
Date: Thu, 24 Feb 2005 15:09:41 -0000
Lines: 67
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 213.2.50.226
Message-ID: <421dedb6$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109257654 213.2.50.226 (24 Feb 2005 07:07:34 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail