default HTTP-based log emits to HTTPS

see: https://github.com/ansible/awx/issues/2048
This commit is contained in:
Ryan Petrello
2018-07-09 11:28:00 -04:00
parent 6a610d633f
commit 6bd9792518
4 changed files with 32 additions and 24 deletions

View File

@@ -203,7 +203,7 @@ class BaseHTTPSHandler(BaseHandler):
https://docs.python.org/3/library/concurrent.futures.html#future-objects
http://pythonhosted.org/futures/
"""
return self.session.post(self._get_host(scheme='http'),
return self.session.post(self._get_host(scheme='https'),
**self._get_post_kwargs(payload))