Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Feb 1, 2017 · 0 comments
Assignees
Labels
in: test Issues in the test module type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Feb 1, 2017

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants