Skip to content

Commit 50aa0a4

Browse files
committed
modify default schema to https
1 parent c5e5ed7 commit 50aa0a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qcloud_cos/cos_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self, Appid=None, Region=None, Secret_id=None, Secret_key=None, Tok
4646
self._timeout = Timeout
4747

4848
if Scheme is None:
49-
Scheme = u'http'
49+
Scheme = u'https'
5050
Scheme = to_unicode(Scheme)
5151
if(Scheme != u'http' and Scheme != u'https'):
5252
raise CosClientError('Scheme can be only set to http/https')

0 commit comments

Comments
 (0)