assertEquals("text/html; charset=UTF-8",response.getContentType());
assertEquals("text/html; charset=utf-8",response.getContentType());
    public void testContentTypeWithCharacterEncoding()        throws Exception    {        Response response = new Response(new HttpConnection(connector,connector.endp,connector.server));                response.setCharacterEncoding("utf16");        response.setContentType("foo/bar; charset=utf-8");        assertEquals("foo/bar; charset=utf-8",response.getContentType());        response.getWriter();        assertEquals("foo/bar; charset=utf-8",response.getContentType());        response.setContentType("foo2/bar2");        assertEquals("foo2/bar2; charset=utf-8",response.getContentType());        response.setCharacterEncoding("ISO-8859-1");        assertEquals("foo2/bar2; charset=utf-8",response.getContentType());        response.recycle();        response.setCharacterEncoding("utf16");        response.setContentType("text/html; charset=utf-8");        assertEquals("text/html; charset=UTF-8",response.getContentType());        response.getWriter();        assertEquals("text/html; charset=UTF-8",response.getContentType());        response.setContentType("text/xml");        assertEquals("text/xml; charset=UTF-8",response.getContentType());        response.setCharacterEncoding("ISO-8859-1");        assertEquals("text/xml; charset=UTF-8",response.getContentType());            }