Skip to content
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

MockHttpServletRequest doesn't reset InputStream/Reader on setContent [SPR-17373] #21906

Closed
spring-projects-issues opened this issue Oct 12, 2018 · 0 comments
Assignees
Labels
in: test type: bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Oct 12, 2018

Juergen Hoeller opened SPR-17373 and commented

As noted on #21048, MockHttpServletRequest should reset the InputStream / Reader on setContent calls (now that is shares the stream/reader across calls).


Affects: 5.1 GA

Issue Links:

  • #21048 MockHttpServletRequest.getReader, getInputStream should each return the same object on repeat calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test type: bug
Projects
None yet
Development

No branches or pull requests

2 participants