From e64b7cc3cb32d9f048e2a8d60313bd44fda21010 Mon Sep 17 00:00:00 2001 From: tiedu Date: Fri, 31 Aug 2018 12:03:39 +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 5cd81de0..557210ba 100644 --- a/qcloud_cos/cos_client.py +++ b/qcloud_cos/cos_client.py @@ -157,7 +157,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.5' + kwargs['headers']['User-Agent'] = 'cos-python-sdk-v5.1.5.6' kwargs['headers'] = format_values(kwargs['headers']) if 'data' in kwargs: kwargs['data'] = to_bytes(kwargs['data'])