While working on #33229 it became apparent that AbstractMockMultipartHttpServletRequestBuilder wasn't overriding the content-type of the request to multipart/form-data.