From 3b448a102bb7e3a96a6a861315686bb8c95ef6f5 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 17 Aug 2009 21:29:58 +0200 Subject: ~ --- module/network/Request.py | 1 + 1 file changed, 1 insertion(+) diff --git a/module/network/Request.py b/module/network/Request.py index a8087c899..d4d32a4a1 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -169,6 +169,7 @@ class Request: self.pw = pw if self.curl: + self.pycurl.setopt(pycurl.HTTPHEADER, ['Authorization: Basic ' + base64.encodestring(user + ':' + pw)[:-1]]) self.pycurl.setopt(pycurl.USERPWD, user + ":" + pw) self.pycurl.setopt(pycurl.HTTPAUTH, pycurl.HTTPAUTH_ANY) else: -- cgit v1.2.3