The problem here is that the python-httplib2 code will use socks.py for the 
proxying. That in turn only adds support
for proxy via the "CONNECT" method that requires a acl in squid. Not this is 
needed for https based proxying, but
for plain http this is not needed. The attach patch from the google project 
page fixes this by adding a new proxy
type for http with no tunnel. I think this is a good approach. The problem is 
of course that we add a interface to
a public library this way that is not part of upstream. So a better approach 
may actually be to "import socks" 
first in python-httplib2 so that e.g. piston-mini-client can provide its own 
socks implementation with the patch applied.

Both the fix for python-httplib2 and the fixed branch for python-piston-
mini-client are needed currently.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/863717

Title:
  oneconf-service crashed with HTTPError in __negotiatehttp(): (403,
  'Forbidden')

To manage notifications about this bug go to:
https://bugs.launchpad.net/httplib2/+bug/863717/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to