Skip to content

Commit 8dbcb02

Browse files
author
Andrei Kuzmichov
committed
Fixed default http_scheme in Connection class from 'http' to 'https'
1 parent 54e7c03 commit 8dbcb02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prestodb/dbapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(
6969
schema=constants.DEFAULT_SCHEMA,
7070
session_properties=None,
7171
http_headers=None,
72-
http_scheme=constants.HTTP,
72+
http_scheme=constants.HTTPS,
7373
auth=constants.DEFAULT_AUTH,
7474
redirect_handler=prestodb.redirect.GatewayRedirectHandler(),
7575
max_attempts=constants.DEFAULT_MAX_ATTEMPTS,

0 commit comments

Comments
 (0)