diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-05-22 22:39:38 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-05-22 22:39:38 +0000 |
commit | a39d77227fe9d74db74fee259329e4b4a086fcce (patch) | |
tree | 5873d4dc03de132ef16a957980019e070f6b4e7c /lib/http.c | |
parent | 9f69deec7d071fbad247574b2fec9263bc020954 (diff) |
Better Digest stuff
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index a7ad947e1..44ef29e8f 100644 --- a/lib/http.c +++ b/lib/http.c @@ -670,7 +670,9 @@ CURLcode Curl_http(struct connectdata *conn) if(result) return result; } - else if((conn->bits.user_passwd) && !checkheaders(data, "Authorization:")) { + else if(!data->set.httpdigest && /* not if Digest is enabled */ + conn->bits.user_passwd && + !checkheaders(data, "Authorization:")) { char *authorization; /* To prevent the user+password to get sent to other than the original |