wordnik / wordnik-python

Wordnik Python public library
227 stars 47 forks source link

API doesn't honor proxy settings #7

Closed jaraco closed 13 years ago

jaraco commented 13 years ago

Our Linux server is located behind a proxy server, direct requests are blocked, and we have configured the environment variables for directing requests through that proxy server.

Wordnik doesn't honor this setting. According to this thread (http://www.velocityreviews.com/forums/t325113-httplib-and-proxy.html), one should use urllib2 instead of httplib, as urllib2 honors the environment variables.

In any case, Wordnik appears unusable in this mode.

jaraco commented 13 years ago

If it's desirable for me to supply a patch, please let me know and I'll put something together.

zeke commented 13 years ago

@jaraco please do. Thanks and sorry for the delay getting back to you.