Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Zarr entry upload procedure to support client-assigned Content-Types #1870

Open
jwodder opened this issue Feb 26, 2024 · 0 comments
Open
Labels
enhancement New feature or request UX Affects usability of the system zarr Issues with Zarr hosting/processing/etc.

Comments

@jwodder
Copy link
Member

jwodder commented Feb 26, 2024

(See dandi/dandidav#90 for motivation)

Feature request: Support an optional content_type: str | null field in the objects in POST /zarr/{zarr_id}/files/ requests. When this field is present and non-null, the signed upload URL that the Archive produces for the entry should set the Content-Type field to the given value so that GET requests for the resulting S3 object will be replied to with responses that have that Content-Type.

Question: When the client performs the actual upload to the signed URL, must it specify the same Content-Type header again?

@jwodder jwodder added enhancement New feature or request zarr Issues with Zarr hosting/processing/etc. labels Feb 26, 2024
@yarikoptic yarikoptic added the UX Affects usability of the system label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UX Affects usability of the system zarr Issues with Zarr hosting/processing/etc.
Projects
None yet
Development

No branches or pull requests

2 participants