Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testGetContentAsStringWithDifferentEncoding (0.13 seconds)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

            response.setContentCache(cache);
    
            String content = response.getContentAsString();
    
            assertEquals(testContent, content);
        }
    
        @Test
        public void testGetContentAsStringWithDifferentEncoding() throws IOException {
            CurlResponse response = new CurlResponse();
            response.setEncoding("ISO-8859-1");
            String testContent = "Hello, World!";
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
Back to Top