Feature request: Support for response header overriding in GetObject requests #650
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#650
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Amazons S3 has this handy feature, where you can override some of the response headers like
Content-Type
that the server uses to respond to requests made to pre-signed URLs: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.htmlUnfortunately, garage does not seem to support this right now, instead opting to always respond with
application/octet-stream
regardless of header values.It would be really helpful if support for this feature was added to garage in order to improve parity with Amazons S3 and also to allow things like in-browser preview of files instead of always forcing a download.
lx referenced this issue2024-03-01 14:14:56 +00:00