Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: Iny 10 TidHTTPServer - Digest Auth. problem

www.cryer.info
Managed Newsgroup Archive

Re: Iny 10 TidHTTPServer - Digest Auth. problem

Subject:Re: Iny 10 TidHTTPServer - Digest Auth. problem
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 3 Oct 2007 10:05:50

"Martin James" <nospam@tuthill.com> wrote in message
news:4703aed1@newsgroups.borland.com...

> The second connection does fire the HTTPServerConnect
> and HTTPServerCreatePostStream handlers, but not the
> HTTPCommandGet.

TIdHTTPServer processes the 'Authorization' header after triggering the
OnCreatePostStream event but before triggering the OnCommandGet event, so
that it can fill in the AuthUsername and AuthPassword properties of the
RequestInfo object that will be passed to OnCommandGet.  However, it only
supports 'Basic' right now.  Anything else will raise an
EIdHTTPUnsupportedAuthorisationScheme exception, which will terminate the
connection immediately.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive