You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Nick Belaevski (JIRA)" <ji...@apache.org> on 2008/09/12 15:51:25 UTC

[jira] Created: (SHALE-495) MockHttpServletResponse throws UnsupportedOperationException for setContentLength method

MockHttpServletResponse throws UnsupportedOperationException for setContentLength method
----------------------------------------------------------------------------------------

                 Key: SHALE-495
                 URL: https://issues.apache.org/struts/browse/SHALE-495
             Project: Shale
          Issue Type: Bug
          Components: Test
    Affects Versions: 1.0.5
            Reporter: Nick Belaevski


org.apache.shale.test.mock.MockHttpServletResponse#setContentLength(int) throws UnsupportedOperationException. We need this method to be implemented because some application servers (e.g. Weblogic 10.3) seem to ignore "Content-Length" header and consider only the value from ServletResponse object. So we call this method in our framework and unit tests and they fail now.  

 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.