spring-framework/spring-test
Sam Brannen d79e33b5a0 Handle empty file input in HtmlUnitRequestBuilder
This commit revises the fix submitted in 959e6d1745 by ensuring that
empty file input is converted to a MockPart with the supplied name, an
empty filename, "application/octet-stream" as the content type, and
empty content.

This aligns with the behavior of Servlet containers, as tested with the
interaction between Firefox and a standard Servlet running in a Jetty
Servlet container.

Closes gh-26799
2021-05-07 16:00:09 +02:00
..
src Handle empty file input in HtmlUnitRequestBuilder 2021-05-07 16:00:09 +02:00
.springBeans
spring-test.gradle Update Reactor Netty modules 2020-08-01 11:49:15 +02:00