diff --git a/fastly/__init__.py b/fastly/__init__.py index 032b693..4754b01 100755 --- a/fastly/__init__.py +++ b/fastly/__init__.py @@ -1063,7 +1063,7 @@ def _fetch(self, url, method="GET", body=None, headers={}): if not hdrs.has_key("Content-Type") and method in ["POST", "PUT"]: hdrs["Content-Type"] = "application/x-www-form-urlencoded" - conn = httplib2.Http(disable_ssl_certificate_validation=True) + conn = httplib2.Http(disable_ssl_certificate_validation=False, timeout=10) endpoint = "%s://%s%s" % (FASTLY_SCHEME, FASTLY_HOST, url) return self._check(*conn.request(endpoint, method, body=body, headers=hdrs))