Article View: borland.public.cppbuilder.internet.web
Article #1780Problems with Indy's TIdHTML::Get() for some web-adresses
From: MR
Date: Sun, 27 Jun 2004 11:46
Date: Sun, 27 Jun 2004 11:46
23 lines
1418 bytes
1418 bytes
I've got some problems with Indy's TIdHTML::Get():
for some adresses it works fine, but for some it does not...
For example trying:
AnsiString
str=IdHTML1->Get("http://www.101lifestyle.com/celebs/alexandra_kamp.html");
I get an exception of type EIdHTTPProtocolException ("HTTP/1.1 404 Not
found").
IdHTML1 is a TIdHTML-VCL-component with standard values (i.e. I did
not change anything inside the object-inspector).
When I try InternetExplorer to open this adress, all works fine...
Can I change some property or do something else to make Get() work?
Thanks a lot,.
Michael
Technical Details
Message-ID:
<3actd05em66jnsft0a4eak9j5b1ps9ls78@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,a0bbc58ff611134e,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: M_R <> Newsgroups: borland.public.cppbuilder.internet.web Subject: Problems with Indy's TIdHTML::Get() for some web-adresses Date: Sun, 27 Jun 2004 13:46:31 +0200 Message-ID: <3actd05em66jnsft0a4eak9j5b1ps9ls78@4ax.com> X-Newsreader: Forte Free Agent 2.0/32.646 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.129.251.7 X-Trace: newsgroups.borland.com 1088336836 83.129.251.7 (27 Jun 2004 04:47:16 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail