Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUnsupportedEncodingThrowsException (0.28 sec)

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

            request.param("special", "ñ€±");
    
            // Should not throw exception
            assertNotNull(request);
        }
    
        @Test
        public void testUnsupportedEncodingThrowsException() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            request.encoding("INVALID-ENCODING");
    
            try {
                request.param("key", "value");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top