org.apache.wink.test.mock.MockHttpServletRequestWrapper doesn't handle
getContentType() and parameter related methods
---------------------------------------------------------------------------------------------------------------------
Key: WINK-339
URL: https://issues.apache.org/jira/browse/WINK-339
Project: Wink
Issue Type: Bug
Components: Testsuite
Affects Versions: 1.1.2
Reporter: Raymond Feng
Fix For: 1.1.2
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.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira