diff --git a/pypodio2/transport.py b/pypodio2/transport.py index ef6e238..11d865d 100644 --- a/pypodio2/transport.py +++ b/pypodio2/transport.py @@ -38,7 +38,7 @@ def __init__(self, key, secret, domain): self.domain = domain def token_request(self, body): - h = Http(disable_ssl_certificate_validation=True) + h = Http() headers = {'content-type': 'application/x-www-form-urlencoded'} response, data = h.request(self.domain + "/oauth/token", "POST", urlencode(body), headers=headers) @@ -125,7 +125,7 @@ def __init__(self, url, headers_factory): self._attribute_stack = [] self._method = "GET" self._posts = [] - self._http = Http(disable_ssl_certificate_validation=True) + self._http = Http() self._params = {} self._url_template = '%(domain)s/%(generated_url)s' self._stack_collapser = "/".join diff --git a/setup.py b/setup.py index 0b6df1e..34da43a 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="pypodio2", - version="0.2.1+everlaw1", + version="0.2.1+everlaw2rc1", description="Python wrapper for the Podio API", author="Podio", author_email="mail@podio.com",