Skip to content

Commit

Permalink
Add get_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
dt3310321 committed Apr 25, 2018
1 parent 0b8be98 commit 5085ed0
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 @@ -116,7 +116,7 @@ def __init__(self, conf, retry=1, session=None):
else:
self._session = session

def get_auth(self, Method, Bucket, Key='', Expired=300, Headers={}, Params={}):
def get_auth(self, Method, Bucket, Key, Expired=300, Headers={}, Params={}):
"""获取签名
:param Method(string): http method,如'PUT','GET'.
Expand Down

0 comments on commit 5085ed0

Please sign in to comment.