Can't get Digest Authentication working...

Giganews Newsgroups
Subject: Can't get Digest Authentication working...
Posted by:  mr_delphi_developer (mr_delphi_develop…@yahoo!!!.com)
Date: Fri, 5 Sep 2003

I'm trying to add several new methods to TidHTTP
and they require Digest Authentication.

Here is an example:

  // 1.1 REQUIRED
  idHTTP1.ProtocolVersion := pv1_1;
  idHTTP1.Request.UserAgent :=  USER_AGENT;
  idHTTP1.Request.UserName := FUserName;
  idHTTP1.Request.Password := FPassword;
  idHTTP1.Request.BasicAuthentication := False;
  // PropFind method added to idHTTP
  idHTTP1.PropFind(HOTMAIL_URL);

But there are a couple of redirects and then it craps out with
a 401.

I even tried using an OnAuthenticate handler but it NEVER enters the
handler AT ALL.

Any ideas?

BTW, I do intend on adding these methods:
PROPFIND
PROPATCH
MOVE
BMOVE
BDELETE
MKCOL

Replies