Skip to content

Commit

Permalink
fix: Switched to non-mime encoder for respponse (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapessi committed Oct 6, 2020
1 parent 97424b6 commit 3607a44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public AwsProxyResponse writeResponse(AwsHttpServletResponse containerResponse,
if (!isBinary(containerResponse.getContentType()) && isValidUtf8(containerResponse.getAwsResponseBodyBytes())) {
responseString = containerResponse.getAwsResponseBodyString();
} else {
responseString = Base64.getMimeEncoder().encodeToString(containerResponse.getAwsResponseBodyBytes());
responseString = Base64.getEncoder().encodeToString(containerResponse.getAwsResponseBodyBytes());
awsProxyResponse.setBase64Encoded(true);
}

Expand Down

0 comments on commit 3607a44

Please sign in to comment.