Google API + proxy + httplib2
问题 I'm currently running a script to pull data from Google Analytics with googleapiclient Phyton package (that is based on httplib2 client object) --> My script works perfectly without any proxy. But I have to put it behind my corporate proxy, so I need to adapt my httplib2.Http() object to embed proxy information. Following httplib2 doc1 I tried: pi = httplib2.proxy_info_from_url('http://user:pwd@someproxy:80') httplib2.Http(proxy_info=pi).request("http://www.google.com") But it did not work. I