XL: GetObjectInfo() store and retrieve user-defined object metadata. (#2189)

This commit is contained in:
utsl42
2016-07-12 15:45:17 -04:00
committed by Harshavardhana
parent 5cd629adca
commit e5cd35aad0
4 changed files with 12 additions and 2 deletions
+1
View File
@@ -226,6 +226,7 @@ func (xl xlObjects) getObjectInfo(bucket, object string) (objInfo ObjectInfo, er
MD5Sum: xlMeta.Meta["md5Sum"],
ContentType: xlMeta.Meta["content-type"],
ContentEncoding: xlMeta.Meta["content-encoding"],
UserDefined: xlMeta.Meta,
}
return objInfo, nil
}