Merge pull request #75 from roman-khimov/fix-last-modified-header
downloader: fix Last-Modified header
This commit is contained in:
commit
cca416ad75
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ func (r *request) receiveFile(clnt client.Object, objectAddress *object.Address)
|
|||
continue
|
||||
}
|
||||
r.Response.Header.Set("Last-Modified",
|
||||
time.Unix(value, 0).Format(time.RFC1123))
|
||||
time.Unix(value, 0).UTC().Format(http.TimeFormat))
|
||||
case object.AttributeContentType:
|
||||
contentType = val
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue