Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

response-content-disposition header is not respected #179

Open
torrlane opened this issue Jul 21, 2021 · 0 comments
Open

response-content-disposition header is not respected #179

torrlane opened this issue Jul 21, 2021 · 0 comments

Comments

@torrlane
Copy link

When retrieving an object, if the url contains the response-content-disposition query parameter, the response should contain the content-disposition header. This makes it easier to provide urls etc... to download attachments.

e.g: http://127.0.0.1:8001/my.bucket.prefix/LPJNul-wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ?response-content-disposition=attachment%3B%20filename%3D%22LPJNul-wow4m6DsqxbninhsWHlwfp0JecwQzYpOLmCQ%22

https://forums.aws.amazon.com/ann.jspa?annID=884

There are other url query params for customizing the response:

response-content-disposition
response-content-type
response-expires
response-cache-control
response-content-encoding

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant