Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testHeaders (0.05 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)
  3. cmd/server_test.go

    	responseBody, err = io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(true, bytes.Equal(responseBody, []byte("hello three")))
    }
    
    // TestHeader - Validates the error response for an attempt to fetch non-existent object.
    func (s *TestSuiteCommon) TestHeader(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// obtain HTTP request to fetch an object from non-existent bucket/object.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top