Skip to content

Commit

Permalink
upload 3.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
shenqing-github committed May 27, 2020
1 parent db38a0b commit 350fb94
Show file tree
Hide file tree
Showing 14 changed files with 627 additions and 560 deletions.
Binary file added release/huaweicloud-obs-sdk-python_3.20.1.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions release/huaweicloud-obs-sdk-python_3.20.1.tar.gz.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3d7bd6df798270963df45493eebc6c7eea6b1972287a7663e78e3b4b720ccbb3 *huaweicloud-obs-sdk-python_3.20.1.tar.gz
4 changes: 3 additions & 1 deletion src/obs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
'DeleteObjectsRequest',
'ListMultipartUploadsRequest',
'GetObjectRequest',
'UploadFileHeader'
'UploadFileHeader',
'Payer',
'ExtensionHeader'
]

2 changes: 1 addition & 1 deletion src/obs/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __make_canonicalstring(self, method, bucket_name, key, path_args, headers, e
return ''.join(str_list)

class V4Authentication(object):
CONTENT_SHA256 = 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
CONTENT_SHA256 = 'UNSIGNED-PAYLOAD'
def __init__(self, ak, sk, region, shortDate, longDate, path_style, ha):
self.ak = ak
self.sk = sk
Expand Down
5 changes: 4 additions & 1 deletion src/obs/bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ class BucketClient(object):
'optionsObject',
'setBucketEncryption',
'getBucketEncryption',
'deleteBucketEncryption'
'deleteBucketEncryption',
'headObject',
'setBucketRequestPayment',
'getBucketRequestPayment'
]

def __init__(self, obsClient, bucketName):
Expand Down
Loading

0 comments on commit 350fb94

Please sign in to comment.