Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,486 for RESPONSE (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    }
                }
            }
        }
    
        /**
         * Gets response data for the given URI.
         *
         * @param uri the URI to get response data for
         * @param includeContent whether to include content in the response
         * @return the response data
         * @throws CrawlingAccessException if unable to access the URI
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/SmbNegotiationResponse.java

     */
    package jcifs.internal;
    
    import jcifs.CIFSContext;
    import jcifs.DialectVersion;
    import jcifs.util.transport.Response;
    
    /**
     * Interface for SMB protocol negotiation response handling.
     * Represents the server's response to a protocol negotiation request, containing negotiated
     * dialect version, security settings, capabilities, and buffer sizes for the SMB connection.
     *
     * @author mbechler
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

        val startNanos = AtomicLong()
        newWebSocket(
          "/runCase?case=$number&agent=okhttp",
          object : WebSocketListener() {
            override fun onOpen(
              webSocket: WebSocket,
              response: Response,
            ) {
              println("Executing test case $number/$count")
              startNanos.set(System.nanoTime())
            }
    
            override fun onMessage(
              webSocket: WebSocket,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. tests/test_schema_ref_pydantic_v2.py

        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/")
        assert response.json() == {"$ref": "some-ref"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("openapi.json")
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. docs_src/response_headers/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/headers-and-object/")
    def get_headers(response: Response):
        response.headers["X-Cat-Dog"] = "alone in the world"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 222 bytes
    - Click Count (0)
  6. tests/test_additional_responses_default_validationerror.py

    app = FastAPI()
    
    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/a/{id}": {
                    "get": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

            }
          },
        )
    
        val response = promise.get(4, SECONDS)
    
        assertThat(response).isNotNull()
    
        assertThat(response.body.string()).isNotEmpty()
    
        if (socketMode is TlsInstance) {
          assertThat(response.handshake!!.tlsVersion).isEqualTo(socketMode.tlsVersion)
    
          assertThat(acceptedHostName).isEqualTo(hostname)
    
          if (socketMode.tlsExtensionMode == STANDARD) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/SmbNegotiation.java

         *
         * @param request the negotiation request
         * @param response the negotiation response
         * @param negoReqBuffer the raw request buffer
         * @param negoRespBuffer the raw response buffer
         *
         */
        public SmbNegotiation(final SmbNegotiationRequest request, final SmbNegotiationResponse response, final byte[] negoReqBuffer,
                final byte[] negoRespBuffer) {
            this.request = request;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. tests/test_dependency_after_yield_streaming.py

    client = TestClient(app)
    
    
    def test_regular_no_stream():
        response = client.get("/data")
        assert response.json() == ["foo", "bar", "baz"]
    
    
    def test_stream_simple():
        response = client.get("/stream-simple")
        assert response.text == "xyz"
    
    
    def test_stream_session():
        response = client.get("/stream-session")
        assert response.text == "foobarbaz"
    
    
    def test_broken_session_data():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. 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();
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Click Count (0)
Back to Top