John Wilson
03/21/2023, 4:36 PMresponse-content-type=application/octet-stream" is part of the equation, but I am struggling to make that work with aws-cfml brettpr
03/21/2023, 4:44 PMJohn Wilson
03/21/2023, 4:53 PMbdw429s
03/21/2023, 5:15 PMbdw429s
03/21/2023, 5:15 PMbdw429s
03/21/2023, 5:15 PMJohn Wilson
03/21/2023, 5:15 PMJohn Wilson
03/21/2023, 5:16 PMbdw429s
03/21/2023, 5:16 PMJohn Wilson
03/21/2023, 5:16 PMbdw429s
03/21/2023, 5:16 PMbdw429s
03/21/2023, 5:16 PMbdw429s
03/21/2023, 5:17 PMbdw429s
03/21/2023, 5:17 PMJohn Wilson
03/21/2023, 5:17 PMbdw429s
03/21/2023, 5:17 PMbdw429s
03/21/2023, 5:18 PMbdw429s
03/21/2023, 5:18 PMbdw429s
03/21/2023, 5:18 PMbdw429s
03/21/2023, 5:18 PMbdw429s
03/21/2023, 5:18 PMbdw429s
03/21/2023, 5:23 PMgetAuthenticatedURL() to try and figure out how/where you'd pass the response-content-type bitbdw429s
03/21/2023, 5:23 PMuri? 🤔bdw429s
03/21/2023, 5:26 PMresponse-content-type when signing a URL.bdw429s
03/21/2023, 5:38 PMresponse-content-type
response-content-language
response-expires
response-cache-control
response-content-disposition
response-content-encodingbdw429s
03/21/2023, 5:38 PMbdw429s
03/22/2023, 10:17 PMs3sdk module and am publishing it now. You can set a custom content type response header like so
var presignedURL = s3.getAuthenticatedURL(
bucketName = testBucket,
uri = "example.txt",
responseHeaders = { "content-type" : "text/plain" }
);
or let the SDK choose the correct header based on the extension
var presignedURL = s3.getAuthenticatedURL(
bucketName = testBucket,
uri = "example.txt",
responseHeaders = { "content-type" : "auto" }
);bdw429s
03/22/2023, 10:20 PM5.6.0John Wilson
03/24/2023, 1:13 PM