mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user