Return objects content types in Web List Objects handler (#3249)

This commit is contained in:
Anis Elleuch 2016-11-13 21:26:40 +01:00 committed by Harshavardhana
parent c57a358c9d
commit 0c042a622a

View File

@ -239,6 +239,7 @@ func (web *webAPIHandlers) ListObjects(r *http.Request, args *ListObjectsArgs, r
Key: obj.Name,
LastModified: obj.ModTime,
Size: obj.Size,
ContentType: obj.ContentType,
})
}
for _, prefix := range lo.Prefixes {