I've pip-installed httplib2 and socksipy-branch.
>>> pkg_resources.get_distribution("socksipy-branch").version
>>> pkg_resources.get_distribution("httplib2").version
I am also running a local HTTP proxy, which I've tested through curl.
However, I can't seem to use the proxy with httplib2:
import httplib2, socks
http = httplib2.Http( proxy_info = httplib2.ProxyInfo(3, 'localhost', 8888) )
#http = httplib2.Http()
headers, response = http.request(url, 'GET')
print response
Am I doing something wrong, or is there still a problem with httplib2's proxy support?
Thanks,
Jamie