Re: Digest-Authorisation

Gisle Aas (gisle@aas.no)
01 Sep 1999 10:28:18 +0200


Berthold Reif <breif@rol3.com> writes:

> In the documentation of libwww I only found hints how to use
> basic-authorisation in a user-agent script.
> 
> How can I use Digest Authorization ? Where can I find a simple example using
> it ?

If the server wants to use Digest Authorization, then LWP::UserAgent
will do the right thing if you have set up the
$ua->get_basic_credentials() method to do what you want (for instance
prompt for a username/password).

With digest authorization the client can't predict what to send in the
Authorization header until the server had told us things.

Regards,
Gisle