Skip to content

Commit

Permalink
modify UA to 5.1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dt3310321 committed May 8, 2018
1 parent 98805b1 commit 000794f
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 @@ -149,7 +149,7 @@ def send_request(self, method, url, timeout=30, **kwargs):
timeout = self._conf._timeout
if self._conf._token is not None:
kwargs['headers']['x-cos-security-token'] = self._conf._token
kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.1.4.1'
kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.1.5.0'
kwargs['headers'] = format_values(kwargs['headers'])
if 'data' in kwargs:
kwargs['data'] = to_bytes(kwargs['data'])
Expand Down

0 comments on commit 000794f

Please sign in to comment.