forked from TrueCloudLab/frostfs-s3-gw
parent
4991a22e3a
commit
d616d9e2d9
5 changed files with 9 additions and 0 deletions
|
@ -131,6 +131,8 @@ func (h *handler) GetObjectHandler(w http.ResponseWriter, r *http.Request) {
|
|||
writeHeaders(w.Header(), info, len(tagSet))
|
||||
if params != nil {
|
||||
writeRangeHeaders(w, params, info.Size)
|
||||
} else {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
}
|
||||
|
||||
getParams := &layer.GetObjectParams{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue