From: Martin Storsjo Date: Tue, 31 Mar 2009 18:54:25 GMT Subject: [PATCH] Allow any HTTP authentication scheme, not only basic Message-ID: <1238525665-10776-1-git-send-email-martin@martin.st> In-Reply-To: <1238520686-546-1-git-send-email-martin@martin.st> Signed-off-by: Martin Storsjo --- Updated patch, enable only on libcurl versions new enough http.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/http.c b/http.c index 2fc55d6..eae74aa 100644 --- a/http.c +++ b/http.c @@ -165,6 +165,9 @@ static CURL *get_curl_handle(void) #if LIBCURL_VERSION_NUM >= 0x070907 curl_easy_setopt(result, CURLOPT_NETRC, CURL_NETRC_OPTIONAL); #endif +#if LIBCURL_VERSION_NUM >= 0x070a06 + curl_easy_setopt(result, CURLOPT_HTTPAUTH, CURLAUTH_ANY); +#endif init_curl_http_auth(result); -- 1.6.0.2