summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3dc81b3)
raw | patch | inline | side by side (parent: 3dc81b3)
author | Paul Sadauskas <psadauskas@gmail.com> | |
Sun, 17 Jan 2010 19:54:06 +0000 (12:54 -0700) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 20 Jan 2010 09:37:19 +0000 (10:37 +0100) |
src/write_http.c | patch | blob | history |
diff --git a/src/write_http.c b/src/write_http.c
index f14636bde5ec79e355aa2166e152992f8b651cfd..1a490399ec30e18fd863740fb1094b4baa94100c 100644 (file)
--- a/src/write_http.c
+++ b/src/write_http.c
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);