Re: Unknown Protocol Error on idhttp get

Giganews Newsgroups
Subject: Re: Unknown Protocol Error on idhttp get
Posted by:  Remy Lebeau \(TeamB\) (no.spam@no.spam.com)
Date: Wed, 7 May 2008

"Mark Williams" <mark@{removethis}skwirel.com> wrote in message
news:0A68224CF452E340mark@{removethis}skwirel.com...

> I recompiled a project with Indy today (version 10.1.5).

That is an old version.  The current version is 10.2.3.

> Everytime I now try and do a Get indy throws up an unknown
> protocol error.

Make sure you are passing a full URL to Get().  It must start with either
'http://' or 'https://'.

> The LUri object is created in preparerequest but I can't
> see where its protocol property gets set

TIdURI's properties are parsed from the URL that is passed to TIdURI's
constructor.

Gambit

Replies

In response to

Unknown Protocol Error on idhttp get posted by Mark Williams on Wed, 7 May 2008