mirror of
https://github.com/minio/minio.git
synced 2025-01-12 15:33:22 -05:00
Return objects content types in Web List Objects handler (#3249)
This commit is contained in:
parent
c57a358c9d
commit
0c042a622a
@ -239,6 +239,7 @@ func (web *webAPIHandlers) ListObjects(r *http.Request, args *ListObjectsArgs, r
|
|||||||
Key: obj.Name,
|
Key: obj.Name,
|
||||||
LastModified: obj.ModTime,
|
LastModified: obj.ModTime,
|
||||||
Size: obj.Size,
|
Size: obj.Size,
|
||||||
|
ContentType: obj.ContentType,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
for _, prefix := range lo.Prefixes {
|
for _, prefix := range lo.Prefixes {
|
||||||
|
Loading…
Reference in New Issue
Block a user