def _set_def_curl_opts(curl): curl.setopt(pycurl.CONNECTTIMEOUT, 8) curl.setopt(pycurl.CAINFO, certifi.where())