Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,881 for RESPONSE (0.06 seconds)

  1. tests/test_response_model_as_return_annotation.py

        response = client.get("/response_model-no_annotation-return_same_model")
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "John", "surname": "Doe"}
    
    
    def test_response_model_no_annotation_return_exact_dict():
        response = client.get("/response_model-no_annotation-return_exact_dict")
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "John", "surname": "Doe"}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 50.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            verify(response).setUid(1000);
    
            doNothing().when(response).setExtendedSecurity(true);
            response.setExtendedSecurity(true);
            verify(response).setExtendedSecurity(true);
    
            doNothing().when(response).setSessionId(999L);
            response.setSessionId(999L);
            verify(response).setSessionId(999L);
    
            // Test reset method
            doNothing().when(response).reset();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
            filter.doFilter(request, response, filterChain);
    
            verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\"");
            verify(filterChain, never()).doFilter(any(), any());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            SuggestIndexResponse response = new SuggestIndexResponse(10, 5, null, 100);
    
            assertNotNull(response);
            assertEquals(10, response.getNumberOfSuggestDocs());
            assertEquals(5, response.getNumberOfInputDocs());
            assertEquals(100, response.getTook());
            assertFalse(response.hasError());
            assertNotNull(response.getErrors());
            assertEquals(0, response.getErrors().size());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Test reset method
            response.reset();
            assertFalse((boolean) isReceivedMethod.invoke(response));
        }
    
        @Test
        @DisplayName("Should handle getNextResponse correctly")
        void testGetNextResponse() {
            // When
            CommonServerMessageBlockResponse nextResponse = response.getNextResponse();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                break;
            case FAVORITE:
                processFavoriteRequest(request, response, chain);
                break;
            case FAVORITES:
                processFavoritesRequest(request, response, chain);
                break;
            case PING:
                processPingRequest(request, response, chain);
                break;
            case SCROLL:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  7. tests/test_application.py

        assert "redoc@2" in response.text
    
    
    def test_enum_status_code_response():
        response = client.get("/enum-status-code")
        assert response.status_code == 201, response.text
        assert response.json() == "foo bar"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 56.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            final CountDownLatch latch = new CountDownLatch(3);
    
            deferred.promise().then(response -> {
                callbackCount.incrementAndGet();
                latch.countDown();
            }).then(response -> {
                callbackCount.incrementAndGet();
                latch.countDown();
            }).then(response -> {
                callbackCount.incrementAndGet();
                latch.countDown();
            });
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  9. fastapi/responses.py

        """JSON response using the ujson library to serialize data to JSON.
    
        **Deprecated**: `UJSONResponse` is deprecated. FastAPI now serializes data
        directly to JSON bytes via Pydantic when a return type or response model is
        set, which is faster and doesn't need a custom response class.
    
        Read more in the
        [FastAPI docs for Custom Response](https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model)
        and the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        override fun intercept(chain: Interceptor.Chain): Response {
          val response = chain.proceed(chain.request())
          val code = response.code
          if (code != HTTP_TEMP_REDIRECT && code != HTTP_PERM_REDIRECT) return response
          val method = response.request.method
          if (method == "GET" || method == "HEAD") return response
          val location = response.header("Location") ?: return response
          return response
            .newBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
Back to Top