Open torrlane opened 3 years ago
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
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