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 0a8bb76 commit ade8c42Copy full SHA for ade8c42
Adyen/httpclient.py
@@ -104,7 +104,7 @@ def _pycurl_post(self,
104
# Add User-Agent header to request so that the
105
# request can be identified as coming from the Adyen Python library.
106
headers['User-Agent'] = self.user_agent
107
-
+
108
if username and password:
109
curl.setopt(curl.USERPWD, '%s:%s' % (username, password))
110
elif xapikey:
@@ -127,7 +127,7 @@ def _pycurl_post(self,
127
# Set the request body.
128
raw_request = json_lib.dumps(json) if json else urlencode(data)
129
curl.setopt(curl.POSTFIELDS, raw_request)
130
131
curl.setopt(curl.TIMEOUT, timeout)
132
curl.perform()
133
0 commit comments