- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 2,003 for clientX (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
enableTls() client = client .newBuilder() .protocols(listOf(protocol, Protocol.HTTP_1_1)) .build() server.protocols = client.protocols } } private fun enableTls() { val handshakeCertificates = platform.localhostHandshakeCertificates() client = client .newBuilder() .sslSocketFactory(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 18.8K bytes - Click Count (0) -
tests/test_router_events.py
assert state.sub_router_shutdown is False with TestClient(app) as client: assert state.app_startup is True assert state.router_startup is True assert state.sub_router_startup is True assert state.app_shutdown is False assert state.router_shutdown is False assert state.sub_router_shutdown is False response = client.get("/") assert response.status_code == 200, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/DeletionOperations.java
private final Client client; private final SuggestSettings settings; private final SuggestWriter suggestWriter; /** * Constructor. * * @param client The OpenSearch client * @param settings The suggest settings * @param suggestWriter The suggest writer for performing deletions */Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.5K bytes - Click Count (0) -
tests/test_request_params/test_body/test_required_str.py
@pytest.mark.parametrize("json", [None, {}]) @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_str_missing(path: str, json: dict[str, Any] | None): client = TestClient(app) response = client.post(path, json=json) assert response.status_code == 422 assert response.json() == { "detail": [ { "type": "missing",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 10.9K bytes - Click Count (0) -
tests/test_request_params/test_file/test_optional_list.py
) def test_optional_list_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-list-bytes", "/optional-list-uploadfile", ], ) def test_optional_list(path: str): client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
// Create first index with alias client.admin().indices().prepareCreate(index1).addAlias(new Alias(aliasName)).execute().actionGet(); // Create second index and add to same alias client.admin().indices().prepareCreate(index2).execute().actionGet(); client.admin().indices().prepareAliases().addAlias(index2, aliasName).execute().actionGet();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** * Constructor for ESSourceReader. * @param client The OpenSearch client. * @param settings The SuggestSettings instance. * @param indexName The name of the index to read from. */ public ESSourceReader(final Client client, final SuggestSettings settings, final String indexName) { this.client = client; this.settings = settings; this.indexName = indexName;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 11.1K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial001.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body.{request.param}") client = TestClient(mod.app) return client def test_body_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": 50.5})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 11.1K bytes - Click Count (0) -
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.additional_status_codes.{request.param}") client = TestClient(mod.app) return client def test_update(client: TestClient):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 934 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/operations/IndexingOperations.java
private final Client client; private final SuggestSettings settings; private final SuggestWriter suggestWriter; /** * Constructor. * * @param client The OpenSearch client * @param settings The suggest settings * @param suggestWriter The suggest writer for performing writes */Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 3.9K bytes - Click Count (0)