mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
refactor: refactor code to separate fs into object-layer and fs layer. (#1305)
This commit is contained in:
committed by
Harshavardhana
parent
188bb92d8a
commit
3c48537f20
@@ -63,7 +63,7 @@ func setObjectHeaders(w http.ResponseWriter, objInfo ObjectInfo, contentRange *h
|
||||
setCommonHeaders(w)
|
||||
|
||||
// set object-related metadata headers
|
||||
lastModified := objInfo.ModifiedTime.UTC().Format(http.TimeFormat)
|
||||
lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat)
|
||||
w.Header().Set("Last-Modified", lastModified)
|
||||
|
||||
w.Header().Set("Content-Type", objInfo.ContentType)
|
||||
|
||||
Reference in New Issue
Block a user