Polishing

This commit is contained in:
Arjen Poutsma
2021-01-08 12:02:13 +01:00
parent e36d4162c2
commit 69ce7d33b9

View File

@@ -118,7 +118,7 @@ public class MultipartWriterSupport extends LoggingCodecSupport {
Charset charset = getCharset();
if (!charset.equals(StandardCharsets.UTF_8) &&
!charset.equals(StandardCharsets.US_ASCII) ) {
params.put("charset", getCharset().name());
params.put("charset", charset.name());
}
mediaType = (mediaType != null ? mediaType : MediaType.MULTIPART_FORM_DATA);