Skip to content

Commit

Permalink
Merge pull request #9 from servee/master
Browse files Browse the repository at this point in the history
Add PATCH method
  • Loading branch information
fawaf committed Feb 29, 2016
2 parents 1a88944 + 2502ef9 commit d1de6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare_v4/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def call(self, method, main_endpoint, endpoint=None, params=None, data=None):
else:
response = requests.delete(url, headers=headers)
elif method == 'PATCH':
pass
response = requests.request('PATCH', url, headers=headers, json=data)
else:
raise CloudFlareAPIError('method not supported') # should never happen
self.logger.debug("request url: %s", response.url)
Expand Down

0 comments on commit d1de6c9

Please sign in to comment.