diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2014-01-24 21:04:09 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2014-02-21 12:21:48 +0100 |
commit | 3437c442663cdf761e59a5b8353e35efeb841c43 (patch) | |
tree | ef660206a37e518a24541c4432a3340db570ea96 | |
parent | 471ce3991b2220fb5d542d788e8191111ca0d81f (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.c | 2 |
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); } |