From 8dbcb02dca96369b84ce7e9544fd0273cb509d8a Mon Sep 17 00:00:00 2001 From: Andrei Kuzmichov Date: Tue, 18 Feb 2020 19:51:51 +0300 Subject: [PATCH] Fixed default http_scheme in Connection class from 'http' to 'https' --- prestodb/dbapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prestodb/dbapi.py b/prestodb/dbapi.py index 119c1b5..5987db9 100644 --- a/prestodb/dbapi.py +++ b/prestodb/dbapi.py @@ -69,7 +69,7 @@ def __init__( schema=constants.DEFAULT_SCHEMA, session_properties=None, http_headers=None, - http_scheme=constants.HTTP, + http_scheme=constants.HTTPS, auth=constants.DEFAULT_AUTH, redirect_handler=prestodb.redirect.GatewayRedirectHandler(), max_attempts=constants.DEFAULT_MAX_ATTEMPTS,