This commit is contained in:
Konstantin Lebedev
2021-10-20 16:01:06 +05:00
parent 182f43ae5f
commit c78220a7f2
4 changed files with 11 additions and 11 deletions

View File

@@ -327,6 +327,8 @@ func SaveAmzMetaData(r *http.Request, existing map[string][]byte, isReplace bool
tag := strings.Split(v, "=")
if len(tag) == 2 {
metadata[xhttp.AmzObjectTagging+"-"+tag[0]] = []byte(tag[1])
} else if len(tag) == 1 {
metadata[xhttp.AmzObjectTagging+"-"+tag[0]] = nil
}
}
}