You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2012/04/22 04:22:35 UTC

[jira] [Resolved] (WINK-339) org.apache.wink.test.mock.MockHttpServletRequestWrapper doesn't handle getContentType() and parameter related methods

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

Luciano Resende resolved WINK-339.
----------------------------------

    Resolution: Fixed

Fixed
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira