mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Consistently set content type of the request with multipart
Closes gh-33232
This commit is contained in:
+1
@@ -58,6 +58,7 @@ public abstract class AbstractMockMultipartHttpServletRequestBuilder<B extends A
|
||||
|
||||
protected AbstractMockMultipartHttpServletRequestBuilder(HttpMethod httpMethod) {
|
||||
super(httpMethod);
|
||||
super.contentType(MediaType.MULTIPART_FORM_DATA);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user