Skip to content

Commit b9db8e8

Browse files
authored
Merge pull request #41 from dt3310321/s3
S3
2 parents e8ae0db + f9f2856 commit b9db8e8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

qcloud_cos/cos_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,7 @@ def restore_object(self, Bucket, Key, RestoreRequest={}, **kwargs):
826826
auth=CosS3Auth(self._conf._secret_id, self._conf._secret_key, Key),
827827
headers=headers,
828828
params=params)
829+
print rt.headers
829830
return None
830831

831832
# s3 bucket interface begin

qcloud_cos/demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from qcloud_cos import CosServiceError
55
from qcloud_cos import CosClientError
66

7+
import sys
78
import logging
89

910
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7

0 commit comments

Comments
 (0)