Browse Source

publish muk_utils - 11.0

pull/6/head
MuK IT GmbH 6 years ago
parent
commit
b4fa195724
  1. 2
      muk_utils/tools/http.py

2
muk_utils/tools/http.py

@ -56,7 +56,7 @@ def get_response(url):
try: try:
response = session.post("%s%s" % (base_url, path), params) response = session.post("%s%s" % (base_url, path), params)
return response.status_code, response.headers, response.content return response.status_code, response.headers, response.content
except requests.exceptions.RequestException as exception:
except Exception as exception:
try: try:
custom_cert = config.get("muk_custom_certificate", False) custom_cert = config.get("muk_custom_certificate", False)
_logger.debug("Using Certificate: {}".format(custom_cert)) _logger.debug("Using Certificate: {}".format(custom_cert))

Loading…
Cancel
Save