diff options
| author | LHHDZ <changlin.shi@ly.com> | 2022-12-13 21:48:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-13 05:48:50 -0800 |
| commit | f84c13dabdef8790c193616fa36d46efc3791d24 (patch) | |
| tree | 60e3a8fac83168ab707df0d40a4d56316769d53e | |
| parent | 693e07b509a01e0e83106211bdf314d84a01a2d5 (diff) | |
| download | seaweedfs-f84c13dabdef8790c193616fa36d46efc3791d24.tar.xz seaweedfs-f84c13dabdef8790c193616fa36d46efc3791d24.zip | |
fix response not allowed (#4057)
| -rw-r--r-- | weed/s3api/s3api_object_multipart_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_object_multipart_handlers.go b/weed/s3api/s3api_object_multipart_handlers.go index b08a1e797..24d7656b5 100644 --- a/weed/s3api/s3api_object_multipart_handlers.go +++ b/weed/s3api/s3api_object_multipart_handlers.go @@ -121,7 +121,7 @@ func (s3a *S3ApiServer) AbortMultipartUploadHandler(w http.ResponseWriter, r *ht glog.V(2).Info("AbortMultipartUploadHandler", string(s3err.EncodeXMLResponse(response))) //https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html - s3err.WriteXMLResponse(w, r, http.StatusNoContent, response) + s3err.WriteEmptyResponse(w, r, http.StatusNoContent) s3err.PostLog(r, http.StatusNoContent, s3err.ErrNone) } |
