cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP authentication negotiation

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 4 Jun 2008 09:48:58 -0700

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.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-04