From 0c042a622ae9583ad17677f3a0a197f9845d3295 Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Sun, 13 Nov 2016 21:26:40 +0100 Subject: [PATCH] Return objects content types in Web List Objects handler (#3249) --- cmd/web-handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/web-handlers.go b/cmd/web-handlers.go index a86eddf75..939e6ba36 100644 --- a/cmd/web-handlers.go +++ b/cmd/web-handlers.go @@ -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 {