Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,838 for RESPONSE (0.04 sec)

  1. tests/test_tutorial/test_body_updates/test_tutorial001.py

        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/items/baz")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.validation.VaErrorHook;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

            .url("https://api.github.com/markdown/raw")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostStreaming().run();
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

                ingestFactory = ComponentUtil.getIngestFactory();
            }
        }
    
        /**
         * Creates an access result after processing the response data through ingesters.
         *
         * @param responseData the response data from the crawled resource
         * @param resultData the result data to be processed
         * @return the access result containing the processed data
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_custom_response/test_tutorial006b.py

    client = TestClient(app)
    
    
    def test_redirect_response_class():
        response = client.get("/fastapi", follow_redirects=False)
        assert response.status_code == 307
        assert response.headers["location"] == "https://fastapi.tiangolo.com"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 904 bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/RequestTest.java

        @Test
        void testGetResponse() {
            // Test case for getResponse method
            Response mockResponse = mock(Response.class); // Mock a response object
            when(mockRequest.getResponse()).thenReturn(mockResponse);
    
            Response actualResponse = mockRequest.getResponse();
    
            assertEquals(mockResponse, actualResponse, "Response should match the mocked object.");
            verify(mockRequest, times(1)).getResponse();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          }
        val request =
          request()
            .post(asyncRequestBody)
            .build()
        val response = client.newCall(request).execute()
        Assumptions.assumeTrue(response.protocol == Protocol.HTTP_2)
        assertThat(response.body.string()).isEqualTo("Hello response!")
        applicationLogs
          .assertLogEqual("--> POST $url")
          .assertLogEqual("--> END POST (duplex request body omitted)")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 07 02:57:33 UTC 2025
    - 39.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

            .url(server.url("/"))
            .header("Connection", "upgrade")
            .build()
        client.newCall(requestWithUpgrade).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.socket).isNull()
          assertThat(response.body.string()).isEqualTo("normal request")
        }
        // Confirm there's no RequestBodyStart/RequestBodyEnd on failed upgrades.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(config.getPid()).thenReturn(1234);
    
            SmbComTreeConnectAndXResponse response = mock(SmbComTreeConnectAndXResponse.class);
            when(response.getService()).thenReturn("A:");
            when(response.isValidTid()).thenReturn(true);
            when(response.getTid()).thenReturn(1);
            when(session.send(any(), any())).thenReturn(response);
            when(config.isIpcSigningEnforced()).thenReturn(false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py

            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    
    
    def test_get_custom_response(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200, response.text
        assert response.text == html_contents
    
    
    def test_openapi_schema(client: TestClient, mod_name: str):
        if mod_name.startswith("tutorial003"):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top