Skip to content

Commit 8cabdc6

Browse files
committed
Fix the 'http'->'http_proxy' for Proxy settings #S214804
As System Environmental variables are set up as http_proxy and https_proxy, not http and https, so we need to make the same change in controller base also.
1 parent 50b3ae3 commit 8cabdc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

authorizenet/apicontrollersbase.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ def execute(self):
124124

125125
self.beforeexecute()
126126

127-
proxyDictionary = {'http' : utility.helper.getproperty("http_proxy"),
128-
'https' : utility.helper.getproperty("https_proxy"),
127+
proxyDictionary = {'http' : utility.helper.getproperty("http_proxy"),
128+
'https' : utility.helper.getproperty("https_proxy"),
129129
'ftp' : utility.helper.getproperty("ftp")}
130130

131131
#requests is http request

0 commit comments

Comments
 (0)