[PATCHv3 spice-gtk 05/14] http-proxy: specify Basic scheme

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Or Squid will fail with:
WARNING: Unsupported or unconfigured/inactive proxy-auth scheme
---
 gtk/wocky-http-proxy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
     }
-- 
1.8.4.2

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]