mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -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,
|
||||
LastModified: obj.ModTime,
|
||||
Size: obj.Size,
|
||||
ContentType: obj.ContentType,
|
||||
})
|
||||
}
|
||||
for _, prefix := range lo.Prefixes {
|
||||
|
Loading…
Reference in New Issue
Block a user