Lakshmanna / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

dns resolve via http proxy #340

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1.
export http proxy enviroment variables.
2.
try to access via Google APIs.
3.
httplib2 raises a exception.
httplib2.ServerNotFoundError: Unable to find the server at www.googleapis.com

What is the expected output? What do you see instead?
No choice to use proxy_rdns = True.
Currentry, I wrote a local mehtod and override httplib2.proxy_from_url, it 
works.

What version of the product are you using? On what operating system?
Debian 7.7
Python 2.7
googleapiclient 1.3.1

Please provide any additional information below.

Original issue reported on code.google.com by nok...@gmail.com on 8 Dec 2014 at 8:40