forked from TrueCloudLab/frostfs-s3-gw
[#223] Add store content language
Signed-off-by: Roman Loginov <r.loginov@yadro.com>
This commit is contained in:
parent
01323ca8e0
commit
7e91f62c28
6 changed files with 48 additions and 0 deletions
|
@ -214,6 +214,9 @@ func (h *handler) PutObjectHandler(w http.ResponseWriter, r *http.Request) {
|
|||
if expires := r.Header.Get(api.Expires); len(expires) > 0 {
|
||||
metadata[api.Expires] = expires
|
||||
}
|
||||
if contentLanguage := r.Header.Get(api.ContentLanguage); len(contentLanguage) > 0 {
|
||||
metadata[api.ContentLanguage] = contentLanguage
|
||||
}
|
||||
|
||||
encryptionParams, err := formEncryptionParams(r)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue