tInitial detection of HTTP basic authentication - vaccinewars - be a doctor and… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6a9bc51c5cbdc06a9f7c5d49b4331755d54c9f55 | |
parent 6b906e129d9e1c2182b34824d49bae6466d2f3c7 | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
diff --git a/src/network.c b/src/network.c | |
t@@ -573,6 +573,9 @@ static void ParseHtmlHeader(gchar *line,HttpConnection *co… | |
} 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); |