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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy