Skip to content

Commit e8ae0db

Browse files
authored
modify user-agent
1 parent eea9049 commit e8ae0db

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
@@ -152,7 +152,7 @@ def send_request(self, method, url, timeout=30, **kwargs):
152152
timeout = self._conf._timeout
153153
if self._conf._token is not None:
154154
kwargs['headers']['x-cos-security-token'] = self._conf._token
155-
kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.4.1'
155+
kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.1.4.0'
156156
try:
157157
for j in range(self._retry):
158158
if method == 'POST':

0 commit comments

Comments
 (0)