Skip to content

MockHttpServletRequest.getReader() returns null in case of no content [SPR-15215] #19780

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-15215 and commented

After the MockHttpServletRequest revision in #16386, getInputStream() returns an empty stream in case of no content... but getReader() still returns null in such a case. Let's fix this for 4.3.7, along with #19779.


Affects: 4.3.6

Issue Links:

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions