🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: retrieve a simple web page by knowing its URL

#4472
From: Stefano Bonifazi
Date: Thu, 10 Feb 2005 08:19
19 lines
1825 bytes
Thank You Mr Aletto,
 well in my tests I never got that error, only "404 page not found" and " 
Invalid header", IE did not use that too ... Anyway I've always been using 
it in my previous HTTP - TSockets tests :-)
Best Regards,
Stefano B.

"Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> ha scritto nel messaggio 
news:420b1193@newsgroups.borland.com...
>>>                     "Host: "+IP+"\r\n"
>>
>> You should be specifying the host name, not the IP.
>
> That's not enough as far as my tests could be worth. You should specify 
> "Accept: text/html", otherwise you'd get a "406 Not Acceptable" error (the 
> resource cannot be displayed).
>
> Steve.
> 
Technical Details
Message-ID: <420b190d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4209d747@newsgroups.borland.com> <420a530c@newsgroups.borland.com> <420b1193@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,474753b63a76f917
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Stefano Bonifazi" <stefboombastic@email.it>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4209d747@newsgroups.borland.com> <420a530c@newsgroups.borland.com> <420b1193@newsgroups.borland.com>
Subject: Re: retrieve a simple web page by knowing its URL 
Date: Thu, 10 Feb 2005 09:19:29 +0100
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 212.141.200.118
Message-ID: <420b190d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108023565 212.141.200.118 (10 Feb 2005 00:19:25 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail