2018-06-11 00:37:48 +00:00
|
|
|
diff -Nur httplib2-0.11.3.orig/python2/httplib2/__init__.py httplib2-0.11.3/python2/httplib2/__init__.py
|
|
|
|
--- httplib2-0.11.3.orig/python2/httplib2/__init__.py 2018-06-10 17:27:19.397359583 -0700
|
|
|
|
+++ httplib2-0.11.3/python2/httplib2/__init__.py 2018-06-10 17:27:57.789525463 -0700
|
|
|
|
@@ -895,7 +895,11 @@
|
2015-04-03 19:26:39 +00:00
|
|
|
else:
|
|
|
|
port = dict(https=443, http=80)[method]
|
|
|
|
|
2018-06-11 00:37:48 +00:00
|
|
|
- proxy_type = 3 # socks.PROXY_TYPE_HTTP
|
2015-04-03 19:26:39 +00:00
|
|
|
+ if method == 'http':
|
|
|
|
+ proxy_type = 4 # socks.PROXY_TYPE_HTTP_NO_TUNNEL
|
|
|
|
+ else:
|
|
|
|
+ proxy_type = 3 # socks.PROXY_TYPE_HTTP
|
|
|
|
+
|
2018-06-11 00:37:48 +00:00
|
|
|
pi = ProxyInfo(
|
2015-04-03 19:26:39 +00:00
|
|
|
proxy_type = proxy_type,
|
|
|
|
proxy_host = host,
|