cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How does curl-lib deal with authentication?

From: Peter Spierenburg <ionlyusethisaddressforlists_at_gmail.com>
Date: Tue, 13 Jan 2009 11:48:12 -0700

Greetings,

Can I use a similar strategy if I'm using the 'multi' API?

Peter.

Igor Novoseltsev wrote:
> 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