Skip to content

Commit

Permalink
Don't set Content-Type in Zarr entry upload request
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Feb 13, 2025
1 parent 488af8a commit b502a48
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dandi/files/zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,11 +674,7 @@ def base64_digest(self) -> str:
return b64encode(bytes.fromhex(self.digest)).decode("us-ascii")

def upload_request(self) -> dict[str, str | None]:
return {
"path": self.entry_path,
"base64md5": self.base64_digest,
"content_type": self.content_type,
}
return {"path": self.entry_path, "base64md5": self.base64_digest}


def _cmp_digests(
Expand Down

0 comments on commit b502a48

Please sign in to comment.