cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP Authentication failed!! (hui)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Dec 2011 10:38:15 +0100 (CET)

On Wed, 21 Dec 2011, hui wrote:

> curl_easy_setopt(fileData->curl, CURLOPT_HTTPAUTH, CURLAUTH_GSSNEGOTIATE);
> //specify the authentication method

Does that function really return OK? Because...

> Authorization: Basic ZXRlbGU6WGRyNTZ0RmM=

Clearly you got Basic authentication in the request!

> < HTTP/1.1 200 OK

But you still got a 200 so I figure it was basic you wanted anyway!?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-21