Merge pull request #1015 from harshavardhana/location

location: Return a set location properly on complete multipart upload…
master
Harshavardhana 9 years ago
commit 7228bc9919
  1. 2
      object-handlers.go

@ -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…
Cancel
Save