Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 1,881 for RESPONSE (0.26 seconds)

  1. tests/test_arbitrary_types.py

        @app.get("/")
        def test() -> MyModel:
            return MyModel(custom_field=FakeNumpyArray())
    
        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/")
        assert response.json() == {"custom_field": [1.0, 2.0, 3.0]}
    
    
    def test_typeadapter():
        # This test is only to confirm that Pydantic alone is working as expected
        from pydantic import (
            BaseModel,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

     * Tests for the {@link Trans2SetFileInformationResponse} class.
     */
    class Trans2SetFileInformationResponseTest {
    
        private Trans2SetFileInformationResponse response;
    
        @BeforeEach
        void setUp() {
            // Initialize a new response object before each test
            response = new Trans2SetFileInformationResponse();
        }
    
        /**
         * Test for the constructor of {@link Trans2SetFileInformationResponse}.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/sso/SsoManager.java

                }
            }
            return null;
        }
    
        /**
         * Gets the appropriate response for the specified SSO response type.
         *
         * @param responseType The type of SSO response required (e.g., METADATA, LOGOUT)
         * @return The action response from the SSO authenticator, or null if SSO is not available
         */
        public ActionResponse getResponse(final SsoResponseType responseType) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. docs/features/events.md

    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    System.out.println("REQUEST 2 (pooled connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/SocketHandler.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okio.Socket
    
    /**
     * Handles a call's request and response streams directly. Use this instead of [MockResponseBody] to
     * begin sending response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    public interface SocketHandler {
      public fun handle(socket: Socket)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 14 16:09:26 GMT 2025
    - 940 bytes
    - Click Count (0)
  6. fastapi/__init__.py

    from .param_functions import Path as Path
    from .param_functions import Query as Query
    from .param_functions import Security as Security
    from .requests import Request as Request
    from .responses import Response as Response
    from .routing import APIRouter as APIRouter
    from .websockets import WebSocket as WebSocket
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:21:01 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.IpAddressUtil;
    import org.codelibs.fess.util.SearchEngineUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.opensearch.core.action.ActionListener;
    
    import jakarta.annotation.Resource;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("Response Tests")
        class ResponseTests {
    
            @Test
            @DisplayName("Should return null response by default")
            void testGetResponse() {
                assertNull(testMessage.getResponse());
            }
    
            @Test
            @DisplayName("Should accept response setting")
            void testSetResponse() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                hmac.digest(response, 0, 16);
                System.arraycopy(clientChallenge, 0, response, 16, 8);
                return response;
            } catch (final Exception ex) {
                if (LogStream.level > 0) {
                    ex.printStackTrace(log);
                }
                return null;
            }
        }
    
        /**
         * Creates the NTLM2 response for the supplied information.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      client = createClient()
      val request = createRequest()
    
      try {
        val response = client!!.newCall(request).execute()
        if (showHeaders) {
          println(StatusLine.get(response))
          val headers = response.headers
          for ((name, value) in headers) {
            println("$name: $value")
          }
          println()
        }
    
        // Stream the response to the System.out as it is returned from the server.
        val out = System.out.sink()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top