This has been clarified in https://github.com/jakartaee/servlet/issues/159 and should be reflected in the behavior of `MockHttpServletResponse`.