tInitial detection of HTTP basic authentication - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6a9bc51c5cbdc06a9f7c5d49b4331755d54c9f55
(DIR) parent 6b906e129d9e1c2182b34824d49bae6466d2f3c7
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Tue, 2 Oct 2001 22:03:55 +0000
Initial detection of HTTP basic authentication
Diffstat:
M src/network.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/network.c b/src/network.c
t@@ -573,6 +573,9 @@ static void ParseHtmlHeader(gchar *line,HttpConnection *conn) {
} else {
g_print("FIXME: Bad redirect\n");
}
+ } else if (g_strcasecmp(split[0],"WWW-Authenticate:")==0 &&
+ conn->StatusCode==401) {
+ g_print("FIXME: Authentication %s required\n",split[1]);
}
}
g_strfreev(split);