Feature request: Support for response header overriding in GetObject requests #650
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#650
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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