We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ead980 commit 9670755Copy full SHA for 9670755
bitly.py
@@ -193,7 +193,7 @@ def _fetchUrl(self, url):
193
raise ValueError('You should supply a value for HOST and PORT when working with proxies. %s' % err)
194
195
params.update(
196
- {'proxy_info': httplib2.ProxyInfo(socks.PROXY_TYPE_HTTP, host, port)}
+ {'proxy_info': httplib2.ProxyInfo(socks.PROXY_TYPE_HTTP_NO_TUNNEL, host, port)}
197
)
198
http = httplib2.Http(**params)
199
resp, content = http.request(url)
0 commit comments