http -> https

This commit is contained in:
hugovk 2017-10-24 00:11:49 +03:00
parent 52636b6764
commit cb1f760731
3 changed files with 3 additions and 3 deletions

View file

@ -830,7 +830,7 @@ class _Request(object):
try:
conn.request(
method='POST', url="http://" + HOST_NAME + HOST_SUBDIR,
method='POST', url="https://" + HOST_NAME + HOST_SUBDIR,
body=data, headers=headers)
except Exception as e:
raise NetworkError(self.network, e)