summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-10-25 19:21:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-10-25 19:21:42 +0000
commitad6185490d140b00e7558d69dff05a0f69df31ad (patch)
tree5c9dc829e8ff2ac39e3f1e003a99d31add0fc2eb /content/fetch.c
parentc9e188a4d1634d9c7d2292a8d04e02f313f37f3b (diff)
downloadnetsurf-ad6185490d140b00e7558d69dff05a0f69df31ad.tar.gz
netsurf-ad6185490d140b00e7558d69dff05a0f69df31ad.tar.bz2
[project @ 2003-10-25 19:21:42 by jmb]
Turn on support for other http auth methods (other than Basic). This is untested. svn path=/import/netsurf/; revision=383
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 391aa14d3..8aa200c91 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -266,7 +266,7 @@ struct fetch * fetch_start(char *url, char *referer,
}
/* HTTP auth */
- code = curl_easy_setopt(fetch->curl_handle, CURLOPT_HTTPAUTH, (long)CURLAUTH_BASIC);
+ code = curl_easy_setopt(fetch->curl_handle, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY);
assert(code == CURLE_OK);
if ((li=login_list_get(url)) != NULL) {