Skip to content

Commit

Permalink
Merge pull request #11 from driveonto/master
Browse files Browse the repository at this point in the history
Allow PUT operation
  • Loading branch information
milanlatinovic committed Oct 6, 2020
2 parents acb9161 + 933a946 commit a042ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eversign/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def _request(self, url, method="GET", params=dict(), data=None,
response = requests.request(
method, url, headers=self.headers, params=params)

elif method == "POST":
elif method in ["POST", "PUT"]:
if self.debug:
logging.debug(data)
response = requests.request(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='eversign',
version='1.1.2',
version='1.1.3',
packages=['eversign'],
url='https://github.com/eversign/eversign-python-sdk',
license='MIT',
Expand Down

0 comments on commit a042ae8

Please sign in to comment.