From aead9bb0d595b0673ce68a39b3cb0971257373fd Mon Sep 17 00:00:00 2001 From: Konstantinos Koukopoulos Date: Mon, 30 Sep 2013 14:34:56 +0300 Subject: [PATCH] Complete MultiPart Operation does specify a body --- moto/s3/responses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/s3/responses.py b/moto/s3/responses.py index 1b9cf8cac..11ad6b4b2 100644 --- a/moto/s3/responses.py +++ b/moto/s3/responses.py @@ -203,7 +203,7 @@ def _key_response(request, full_url, headers): ) return 200, headers, response - if body == '' and 'uploadId' in query: + if 'uploadId' in query: upload_id = query['uploadId'][0] key = s3_backend.complete_multipart(bucket_name, upload_id)