Description
We have a MockHttpServletRequestWrapper that extends from org.springframework.mock.web.MockHttpServletRequest. The base class uses instance vars for certain header and it doesn't look up from the headers, for example, getContentType(). The other thing is that it doesn't handle POSTed form (the parameters are in the body) for parameter related calls.
I'm providing a patch to fix them.