mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Use FormHttpMessageReader by default in ServerCodecConfigurer
This commit is contained in:
@@ -109,6 +109,8 @@ public class ServerCodecConfigurer {
|
||||
this.defaultCodecs.addReaderTo(result, ResourceDecoder.class, ResourceDecoder::new);
|
||||
this.defaultCodecs.addStringReaderTextOnlyTo(result);
|
||||
|
||||
this.defaultCodecs.addReaderTo(result, FormHttpMessageReader::new);
|
||||
|
||||
// Custom, concrete Java type readers
|
||||
this.customCodecs.addTypedReadersTo(result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user