02-arcadia.patch 602 B

123456789101112
  1. --- contrib/python/moto/py3/moto/s3/responses.py (index)
  2. +++ contrib/python/moto/py3/moto/s3/responses.py (working tree)
  3. @@ -2000,7 +2000,8 @@ class S3Response(BaseResponse):
  4. tagging = self._tagging_from_headers(request.headers)
  5. storage_type = request.headers.get("x-amz-storage-class", "STANDARD")
  6. acl = self._acl_from_headers(request.headers)
  7. -
  8. + if acl is None:
  9. + acl = self.backend.get_bucket(bucket_name).acl
  10. multipart_id = self.backend.create_multipart_upload(
  11. bucket_name,
  12. key_name,