You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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."
This discussion was converted from issue #50 on February 07, 2021 18:29.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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."
Beta Was this translation helpful? Give feedback.
All reactions