🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by MR Sun, 27 Jun 2004 11:46
Problems with Indy's TIdHTML::Get() for some web-adresses
#1780
Author: MR
Date: Sun, 27 Jun 2004 11:46
23 lines
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
Re: Problems with Indy's TIdHTML::Get() for some web-adresses
#1781
Author: Remy Lebeau (TeamB)
Date: Mon, 28 Jun 2004 01:24
12 lines
1227 bytes
<M_R> wrote in message news:3actd05em66jnsft0a4eak9j5b1ps9ls78@4ax.com...

> For example trying:
<snip>
> I get an exception of type EIdHTTPProtocolException
> ("HTTP/1.1 404 Not found").

Works fine when I try it.  Which version of Indy are you actually using?


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads