🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Tidhttp & HTTP Headers

#1513
From: Remy Lebeau (TeamB)
Date: Thu, 11 Jan 2007 03:12
45 lines
2333 bytes
"Cheater" <zetsoft@mail.ru> wrote in message
news:45a59c72@newsgroups.borland.com...

> Admin of my web-server has disabled HTTP-Headers.

They can't do that.  Without headers, HTTP doesn't work at all.
Headers tell HTTP what to do, and what is being transmitted in both
directions.  I think you are confused about what they actually did on
the server.  You need to find out EXACTLY what is really happening..

> now, i can't receive html-page from server.

I seriously doubt that.  HTTP is fairly useless if it can't retreive
data.

> as I had already written, error always return a first line of
html-page,
> look like
>   "<body>bla-bla<html>...".

That is not what I asked you.  Besides, the mere fact that you are
getting that much proves that HTTP headers are not disabled, otherwise
you wouldn't be able to get that data at all.

> Error doesn't have any error-code. Only html...

There is always a code available.

> Application doesn't work correctly

Again, that does not say ANYTHING about the problem you are having.
You need to be VERY specific.

> how i can receive information with disabled headers?

There is no such thing as disabled headers in HTTP.

> how i can load receiving into TMemoryStream?

You already know the answer to that, because your earlier code snippet
is doing it.


Gambit
Technical Details
Message-ID: <45a5ab02$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <op.tlqplrqfc1j1tk@cheater.arc-net.ru> <45a3e89e$1@newsgroups.borland.com> <45a46f39@newsgroups.borland.com> <45a47c29$1@newsgroups.borland.com> <45a59c72@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,51b589af2018b4df
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <op.tlqplrqfc1j1tk@cheater.arc-net.ru> <45a3e89e$1@newsgroups.borland.com> <45a46f39@newsgroups.borland.com> <45a47c29$1@newsgroups.borland.com> <45a59c72@newsgroups.borland.com>
Subject: Re: Tidhttp & HTTP Headers
Date: Wed, 10 Jan 2007 19:12:00 -0800
Lines: 47
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: 75.83.34.171
Message-ID: <45a5ab02$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1168485122 75.83.34.171 (10 Jan 2007 19:12:02 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail