Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHeaders (0.61 sec)

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

            Exception exception = new IOException("Test exception");
    
            response.setContentException(exception);
    
            assertSame(exception, response.getContentException());
        }
    
        @Test
        public void testHeaders() {
            CurlResponse response = new CurlResponse();
            Map<String, List<String>> headers = new HashMap<>();
            headers.put("Content-Type", Arrays.asList("application/json"));
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

        public void test_inheritedMethods_areProperlyDelegated() {
            final String customPath = "/api/v1/test";
            final String testHeader = "X-Test-Header";
            final String testHeaderValue = "TestValue";
    
            mockRequest.addHeader(testHeader, testHeaderValue);
            mockRequest.setMethod("POST");
            mockRequest.setRequestURI("/test/uri");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top