parent
c4631e5806
commit
116ffbb438
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func writeHeaders(h http.Header, info *layer.ObjectInfo) {
|
|||
if len(info.ContentType) > 0 {
|
||||
h.Set(api.ContentType, info.ContentType)
|
||||
}
|
||||
h.Set(api.LastModified, info.Created.Format(http.TimeFormat))
|
||||
h.Set(api.LastModified, info.Created.Format(time.RFC3339))
|
||||
h.Set(api.ContentLength, strconv.FormatInt(info.Size, 10))
|
||||
h.Set(api.ETag, info.HashSum)
|
||||
|
||||
|
|
Loading…
Reference in a new issue