-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
I'm using this module behind a proxy and had to make some slight modifications for it to work.
So I'd suggest to check the environment for a proxy and set it in httplib2 using PySocks:
import httplib2
# detect presense of proxy and use env varibles if they exist
pi = httplib2.proxy_info_from_environment()
if pi:
import socks
socks.setdefaultproxy(pi.proxy_type, pi.proxy_host, pi.proxy_port)
socks.wrapmodule(httplib2) Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels