- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testHeaders (0.09 seconds)
-
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"));
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) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
@Test 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");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0)