Consistently set content type of the request with multipart
Closes gh-33232
This commit is contained in:
@@ -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