From d2dbc7a3673cc0c08ff808b3e8c0636a23ea04eb Mon Sep 17 00:00:00 2001 From: tiedu Date: Tue, 5 Jun 2018 15:28:25 +0800 Subject: [PATCH] Update cos_client.py --- qcloud_cos/cos_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcloud_cos/cos_client.py b/qcloud_cos/cos_client.py index 6a0bdcc3..fa5ac161 100644 --- a/qcloud_cos/cos_client.py +++ b/qcloud_cos/cos_client.py @@ -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.5.0' + kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.1.5.1' kwargs['headers'] = format_values(kwargs['headers']) if 'data' in kwargs: kwargs['data'] = to_bytes(kwargs['data'])