mirror of
https://github.com/minio/minio.git
synced 2025-01-26 06:03:17 -05:00
Merge pull request #1015 from harshavardhana/location
location: Return a set location properly on complete multipart upload…
This commit is contained in:
commit
7228bc9919
@ -475,7 +475,7 @@ func (api CloudStorageAPI) CompleteMultipartUploadHandler(w http.ResponseWriter,
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
response := generateCompleteMultpartUploadResponse(bucket, object, "", metadata.Md5)
|
response := generateCompleteMultpartUploadResponse(bucket, object, req.URL.String(), metadata.Md5)
|
||||||
encodedSuccessResponse := encodeSuccessResponse(response)
|
encodedSuccessResponse := encodeSuccessResponse(response)
|
||||||
// write headers
|
// write headers
|
||||||
setCommonHeaders(w, len(encodedSuccessResponse))
|
setCommonHeaders(w, len(encodedSuccessResponse))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user