-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
#27230 introduced support for configuring the default character encoding in the underlying MockHttpServletResponse used in MockMvc, using a Charset.
However, methods for supplying character encoding in MockHttpServletRequestBuilder and ContentResultMatchers currently accept a String.
To improve the developer experience and avoid the use of String literals, we should provide overloaded support via Charset for character encoding in MockHttpServletRequestBuilder and ContentResultMatchers.
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement