Skip to content

Commit 53528e8

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 f373b33 commit 53528e8

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.idea/dictionaries/saibasu.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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"),
128-
'https' : utility.helper.getproperty("https"),
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)