[ 
https://issues.apache.org/jira/browse/WINK-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raymond Feng updated WINK-339:
------------------------------

    Attachment: test.diff

Here is another patch containing a unit test case.

> 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
>
>         Attachments: rfeng.diff, test.diff
>
>
> 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

Reply via email to