From 710744a459be601bf557ea61de62b66922c3723b Mon Sep 17 00:00:00 2001 From: Paul Sadauskas Date: Sun, 17 Jan 2010 12:54:06 -0700 Subject: [PATCH] Use Curl AnyAuth (digest+basic) instead of just digest --- src/write_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write_http.c b/src/write_http.c index f14636bd..1a490399 100644 --- a/src/write_http.c +++ b/src/write_http.c @@ -142,7 +142,7 @@ static int wh_callback_init (wh_callback_t *cb) /* {{{ */ ssnprintf (cb->credentials, credentials_size, "%s:%s", cb->user, (cb->pass == NULL) ? "" : cb->pass); curl_easy_setopt (cb->curl, CURLOPT_USERPWD, cb->credentials); - curl_easy_setopt (cb->curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); + curl_easy_setopt (cb->curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); } curl_easy_setopt (cb->curl, CURLOPT_SSL_VERIFYPEER, cb->verify_peer); -- 2.11.0