Skip to content

Commit

Permalink
Update cos_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dt3310321 authored Sep 7, 2018
1 parent 253d271 commit 1221df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcloud_cos/cos_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def send_request(self, method, url, bucket, timeout=30, **kwargs):
if self._conf._timeout is not None: # 用户自定义超时时间
timeout = self._conf._timeout

kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.1.5.6'
kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.1.5.7'
if self._conf._token is not None:
kwargs['headers']['x-cos-security-token'] = self._conf._token
if bucket is not None:
Expand Down

0 comments on commit 1221df0

Please sign in to comment.