Skip to content

Commit 27a7ee0

Browse files
author
degangliu
committed
analyze
1 parent b032214 commit 27a7ee0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

qcloud_cos/cos_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def __init__(self, Appid=None, Region=None, SecretId=None, SecretKey=None, Token
6565
:param PoolMaxSize(int): 连接池中最大连接数
6666
:param AllowRedirects(bool): 是否重定向
6767
:param SignHost(bool): 是否将host算入签名
68+
:param EndpointCi(string): ci的endpoint
6869
"""
6970
self._appid = to_unicode(Appid)
7071
self._token = to_unicode(Token)
@@ -92,7 +93,8 @@ def __init__(self, Appid=None, Region=None, SecretId=None, SecretKey=None, Token
9293
if (Scheme != u'http' and Scheme != u'https'):
9394
raise CosClientError('Scheme can be only set to http/https')
9495
self._scheme = Scheme
95-
self._endpoint_ci = format_endpoint(Endpoint, Region, u'ci.')
96+
# 格式化ci的endpoint 不支持自定义域名的
97+
self._endpoint_ci = format_endpoint(EndpointCi, Region, u'ci.')
9698

9799
# 兼容(SecretId,SecretKey)以及(AccessId,AccessKey)
98100
if (SecretId and SecretKey):

qcloud_cos/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '5.1.9.8'
1+
__version__ = '5.1.9.9'

0 commit comments

Comments
 (0)