Skip to content

Commit 2558ff5

Browse files
lewzylulewzylu(卢众意)
andauthored
update to 1.8.6.31 (#298)
* x-cos-tagging support * update to 1.8.6.31 --------- Co-authored-by: lewzylu(卢众意) <lewzylu@tencent.com>
1 parent 8019453 commit 2558ff5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

coscmd/cos_comm.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ def mapped(headers):
6868
for i in headers:
6969
if i in maplist:
7070
_headers[maplist[i]] = headers[i]
71-
elif i.startswith('x-cos-meta-'):
72-
_meta[i] = headers[i]
7371
else:
74-
_headers[headers[i]] = headers[i]
72+
_meta[i] = headers[i]
7573
if len(_meta) > 0:
7674
_headers['Metadata'] = _meta
7775
return _headers

coscmd/cos_global.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Version = "1.8.6.30"
1+
Version = "1.8.6.31"

0 commit comments

Comments
 (0)