Comment 4 for bug 863717

Revision history for this message
Michael Vogt (mvo) wrote :

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.