all: fix all the arguments

This commit is contained in:
2018-12-12 15:15:26 +01:00
parent cf16476a0f
commit 23f054d3b8
2 changed files with 49 additions and 9 deletions

View File

@@ -30,7 +30,8 @@ class Client():
# we pass the scheme as string, but have it as attributes in requests
fn = requests.__getattribute__(scheme)
res = fn(url, headers=headers, json=data, params=params, auth=self.auth)
res = fn(url, headers=headers, json=data, params=params,
verify=self.verify, auth=self.auth)
res.raise_for_status()