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.

Reply via email to