The LENS Zarr JSON metadata files such as .zarray have ContentType=binary/octet-stream instead of application/json. Can we (a) set ContentType correctly for future uploads and (b) fix this for existing objects on S3?
Ryan Abernathy pointed out (in the Zarr development github) that "Content type is determined by the uploader: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
When writing or copying zarr to s3, you could specify a Content-Type: application/json header for those files."
The LENS Zarr JSON metadata files such as .zarray have ContentType=binary/octet-stream instead of application/json. Can we (a) set ContentType correctly for future uploads and (b) fix this for existing objects on S3?
Example:
Ryan Abernathy pointed out (in the Zarr development github) that "Content type is determined by the uploader: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html When writing or copying zarr to s3, you could specify a Content-Type: application/json header for those files."