cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: How does curl-lib deal with authentication?

From: Igor Novoseltsev <IgorN_at_radvision.com>
Date: Tue, 13 Jan 2009 11:46:38 +0200

You have workaround for the callback problem:
Don't set username and password into the easy at the beginning.
Set them into the same easy after you got 401 and retry the request.

> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-
> bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
> Sent: Tuesday, January 13, 2009 11:17 AM
> To: libcurl development
> Subject: Re: How does curl-lib deal with authentication?
>
> On Tue, 13 Jan 2009, Peter Spierenburg wrote:
>
> > Instead, is there a mechanism that I can use to establish a callback
> > function to ask the user for their credentials?
>
> Josef Wolf worked to revive the callback for (http) auth feature back
in
> november '08, but he seems to have dropped off. See archive for
details.
>
> --
>
> / daniel.haxx.se
Received on 2009-01-13