diff --git a/swift3/middleware.py b/swift3/middleware.py index b1cc33c4..87159b3d 100644 --- a/swift3/middleware.py +++ b/swift3/middleware.py @@ -610,7 +610,7 @@ class BucketController(WSGIContext): body = '\r\n' \ '\r\n' - xml = ''.join(env['wsgi.input'].readlines()) + xml = env['wsgi.input'].read() for key, version in _object_key_iter(xml): if version is not None: # TODO: delete the specific version of the object