Skip to content

Commit

Permalink
update to 1.8.6.31 (#298)
Browse files Browse the repository at this point in the history
* x-cos-tagging support

* update to 1.8.6.31

---------

Co-authored-by: lewzylu(卢众意) <[email protected]>
  • Loading branch information
lewzylu and lewzylu(卢众意) authored Mar 15, 2023
1 parent 8019453 commit 2558ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions coscmd/cos_comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,8 @@ def mapped(headers):
for i in headers:
if i in maplist:
_headers[maplist[i]] = headers[i]
elif i.startswith('x-cos-meta-'):
_meta[i] = headers[i]
else:
_headers[headers[i]] = headers[i]
_meta[i] = headers[i]
if len(_meta) > 0:
_headers['Metadata'] = _meta
return _headers
Expand Down
2 changes: 1 addition & 1 deletion coscmd/cos_global.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Version = "1.8.6.30"
Version = "1.8.6.31"

0 comments on commit 2558ff5

Please sign in to comment.