curl-library
Re: HTTP authentication negotiation
From: Raf Nulens <raf.nulens_at_androme.com>
Date: Thu, 05 Jun 2008 15:09:24 +0200
Date: Thu, 05 Jun 2008 15:09:24 +0200
Dan Fandrich schreef:
> On Wed, Jun 04, 2008 at 11:29:38AM +0200, Raf Nulens wrote:
>> curl_easy_setopt ( pCURL, CURLOPT_HTTPAUTH, CURLAUTH_BASIC &
>> CURLAUTH_DIGEST );
>
> Don't you really want CURLAUTH_BASIC | CURLAUTH_DIGEST here? An & is going
> to disable authentication altogether.
>
Indeed, it should be CURLAUTH_BASIC | CURLAUTH_DIGEST. But in our code
we did it right :)
>>>> Dan
Received on 2008-06-05