summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2014-01-24 21:04:09 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2014-02-21 12:21:48 +0100
commit3437c442663cdf761e59a5b8353e35efeb841c43 (patch)
treeef660206a37e518a24541c4432a3340db570ea96
parent471ce3991b2220fb5d542d788e8191111ca0d81f (diff)
http-proxy: specify Basic scheme
Or Squid will fail with: WARNING: Unsupported or unconfigured/inactive proxy-auth scheme
-rw-r--r--gtk/wocky-http-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/wocky-http-proxy.c b/gtk/wocky-http-proxy.c
index d73990b..11f557e 100644
--- a/gtk/wocky-http-proxy.c
+++ b/gtk/wocky-http-proxy.c
@@ -98,7 +98,7 @@ create_request (GProxyAddress *proxy_address, gboolean *has_cred)
base64_cred = g_base64_encode ((guchar *) cred, strlen (cred));
g_free (cred);
g_string_append_printf (request,
- "Proxy-Authorization: %s\r\n",
+ "Proxy-Authorization: Basic %s\r\n",
base64_cred);
g_free (base64_cred);
}