Closed
Description
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:
- MockHttpServletRequest.getReader, getInputStream should each return the same object on repeat calls [SPR-16505] #21048 MockHttpServletRequest.getReader, getInputStream should each return the same object on repeat calls