Feature request: Support for response header overriding in GetObject requests #650

Closed
opened 2023-10-12 10:22:40 +00:00 by jangxx · 0 comments

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.html

Unfortunately, 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.

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.html Unfortunately, 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 added the
action
for-newcomers
scope
s3-api
labels 2023-10-12 11:04:46 +00:00
lx added this to the v1.0 milestone 2023-10-12 11:04:53 +00:00
lx closed this issue 2024-02-09 15:40:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#650
No description provided.