Skip to content

Commit

Permalink
Merge pull request #84 from dt3310321/s3
Browse files Browse the repository at this point in the history
standardized singature format
  • Loading branch information
dt3310321 authored Apr 24, 2019
2 parents d12a8e2 + c083c1f commit 735950d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qcloud_cos/cos_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def get_presigned_url(self, Bucket, Key, Method, Expired=300, Params={}, Headers
"""
url = self._conf.uri(bucket=Bucket, path=Key)
sign = self.get_auth(Method=Method, Bucket=Bucket, Key=Key, Expired=Expired, Headers=Headers, Params=Params)
url = url + '?sign=' + quote(sign)
url = url + '?' + sign
if Params:
url = url + '&' + urlencode(Params)
return url
Expand Down
2 changes: 1 addition & 1 deletion qcloud_cos/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = '5.1.6.6'
__version__ = '5.1.6.7'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def long_description():

setup(
name='cos-python-sdk-v5',
version='1.6.6',
version='1.6.7',
url='https://www.qcloud.com/',
license='MIT',
author='tiedu, lewzylu, channingliu',
Expand Down

0 comments on commit 735950d

Please sign in to comment.