Skip to content

Commit 22b3951

Browse files
committed
Don't include x-amz-acl header in zarr upload
1 parent 51189da commit 22b3951

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎dandi/files/zarr.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -732,10 +732,10 @@ def mkzarr() -> str:
732732
yield {"status": "initiating upload", "size": total_size}
733733
lgr.debug("%s: Beginning upload", asset_path)
734734
changed = False
735-
with RESTFullAPIClient(
736-
"http://nil.nil",
737-
headers={"X-Amz-ACL": "bucket-owner-full-control"},
738-
) as storage, closing(to_upload.get_items()) as upload_items:
735+
with (
736+
RESTFullAPIClient("http://nil.nil") as storage,
737+
closing(to_upload.get_items()) as upload_items,
738+
):
739739
bytes_uploaded = 0
740740
for i, items in enumerate(
741741
chunked(upload_items, ZARR_UPLOAD_BATCH_SIZE), start=1

0 commit comments

Comments
 (0)