mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
location: Return a set location properly on complete multipart upload request.
This commit is contained in:
parent
d548316343
commit
e7474bed43
@ -475,7 +475,7 @@ func (api CloudStorageAPI) CompleteMultipartUploadHandler(w http.ResponseWriter,
|
||||
}
|
||||
return
|
||||
}
|
||||
response := generateCompleteMultpartUploadResponse(bucket, object, "", metadata.Md5)
|
||||
response := generateCompleteMultpartUploadResponse(bucket, object, req.URL.String(), metadata.Md5)
|
||||
encodedSuccessResponse := encodeSuccessResponse(response)
|
||||
// write headers
|
||||
setCommonHeaders(w, len(encodedSuccessResponse))
|
||||
|
Loading…
Reference in New Issue
Block a user