BasicAuthentication

Giganews Newsgroups
Subject: BasicAuthentication
Posted by:  Constantine Hvan (darkjudicat…@mail.ru)
Date: Thu, 10 Jul 2003

I'm doing:

IdHTTP1->Request->BasicAuthentication = false;
IdHTTP1->Head("http://username:password@url");

and authentication error arises (if BasicAuthentication = true it's all
right)

can I switch BasicAuthentication to true somehow at runtime?
may be in OnAuthorization or OnSelectAuthorization events, then how?

Best regards, Constantine.

Replies