[PATCH] Allow any HTTP authentication scheme, not only basic
Signed-off-by: Martin Storsjo <martin@martin.st>
---
http.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/http.c b/http.c
index 2fc55d6..7cb53e8 100644
--- a/http.c
+++ b/http.c
@@ -165,6 +165,7 @@ static CURL *get_curl_handle(void)
#if LIBCURL_VERSION_NUM >= 0x070907
curl_easy_setopt(result, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);
#endif
+ curl_easy_setopt(result, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
init_curl_http_auth(result);
--
1.6.0.2