This works:
# Proxy credentials
proxyAuth = base64.encodestring('%s:%s' % (proxy_username,
proxy_password))
proxy_authHeader = "Basic " + proxyAuth.strip()
# Web site credentials
basicAuth = base64.encodestring('%s:%s' % (username,
password))
authHeader = "Basic " + basicAuth.strip()
return client.getPage(url, headers={"Authorization":
authHeader, 'Proxy-Authenticate': proxy_authHeader})
--
http://mail.python.org/mailman/listinfo/python-list
