Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,879 for CLIENT (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

            }
        }
    
        public void test_resolveSidsDisabled() throws Exception {
            SmbClient client = new SmbClient();
            client.setResolveSids(false);
            assertFalse(client.isResolveSids());
    
            StandardCrawlerContainer container =
                    new StandardCrawlerContainer().singleton("smbClient", client).singleton("mimeTypeHelper", MimeTypeHelperImpl.class);
    
            Map<String, Object> params = new HashMap<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
  2. tests/test_query.py

        response = client.get("/query/int/default")
        assert response.status_code == 200
        assert response.json() == "foo bar 10"
    
    
    def test_query_int_default_query_50():
        response = client.get("/query/int/default?query=50")
        assert response.status_code == 200
        assert response.json() == "foo bar 50"
    
    
    def test_query_int_default_query_foo():
        response = client.get("/query/int/default?query=foo")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. tests/test_ws_router.py

        return app
    
    
    app = make_app(app)
    
    
    def test_app():
        client = TestClient(app)
        with client.websocket_connect("/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, world!"
    
    
    def test_router():
        client = TestClient(app)
        with client.websocket_connect("/router") as websocket:
            data = websocket.receive_text()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

             * Called when a request starts.
             *
             * @param client the fault-tolerant client
             * @param request the request data
             */
            void onRequestStart(FaultTolerantClient client, RequestData request);
    
            /**
             * Called before each request attempt.
             *
             * @param client the fault-tolerant client
             * @param request the request data
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. tests/test_request_params/test_body/test_optional_list.py

            "type": "object",
        }
    
    
    def test_optional_list_str_missing():
        client = TestClient(app)
        response = client.post("/optional-list-str")
        assert response.status_code == 200, response.text
        assert response.json() == {"p": None}
    
    
    def test_model_optional_list_str_missing():
        client = TestClient(app)
        response = client.post("/model-optional-list-str")
        assert response.status_code == 422, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

            try (ResponseData responseData = client.doGet(baseUrl + "file1.txt")) {
                assertEquals(200, responseData.getHttpStatusCode());
            }
        }
    
        public void test_customCharset() throws Exception {
            SmbClient client = new SmbClient();
            client.setCharset("ISO-8859-1");
            client.setResolveSids(false);
            assertEquals("ISO-8859-1", client.getCharset());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        server.enqueue(
          MockResponse(body = "Successful auth!"),
        )
        val credential = basic("username", "password")
        client =
          client
            .newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, "Basic"))
            .build()
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("Successful auth!")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/PropertyConfiguration.java

            value = props.getProperty("jcifs.smb.client.username");
            if (value != null) {
                this.defaultUserName = value;
            }
    
            value = props.getProperty("jcifs.smb.client.password");
            if (value != null) {
                this.defaultPassword = value;
            }
    
            value = props.getProperty("jcifs.smb.client.domain");
            if (value != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. tests/test_request_params/test_file/test_optional.py

        ],
    )
    def test_optional_missing(path: str):
        client = TestClient(app)
        response = client.post(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-bytes",
            "/optional-uploadfile",
        ],
    )
    def test_optional(path: str):
        client = TestClient(app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. tests/test_request_params/test_form/test_optional_str.py

    )
    def test_optional_str_missing(path: str):
        client = TestClient(app)
        response = client.post(path)
        assert response.status_code == 200
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str(path: str):
        client = TestClient(app)
        response = client.post(path, data={"p": "hello"})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top