如何在GeneratePresignedUrlRequest.setContentType(contentType)

时间:2016-01-18 19:25:52

标签: java web amazon-s3 http-headers

如何在

中设置“charset = utf-8”

GeneratePresignedUrlRequest.setContentType(contentType)

我试过了(它不起作用):

String contentType = "charset=utf-8";

GeneratePresignedUrlRequest
generatePresignedUrlRequest = new GeneratePresignedUrlRequest(str,
str2); generatePresignedUrlRequest.setContentType(contentType);

contentType =?

1 个答案:

答案 0 :(得分:0)

mb尝试application/octet-stream