- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 1,918 for fluent (0.04 seconds)
-
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt
import okhttp3.Request fun main() { val client = OkHttpClient .Builder() .addInterceptor(BrotliInterceptor) .build() sendRequest("https://httpbin.org/brotli", client) sendRequest("https://httpbin.org/gzip", client) } private fun sendRequest( url: String, client: OkHttpClient, ) { val req = Request.Builder().url(url).build() client.newCall(req).execute().use {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.1K bytes - Click Count (1) -
tests/test_schema_extra_examples.py
assert response.status_code == 200, response.text response = client.get("/query_examples/") assert response.status_code == 200, response.text response = client.get("/query_example_examples/") assert response.status_code == 200, response.text response = client.get("/header_example/") assert response.status_code == 200, response.text response = client.get("/header_examples/")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 32.2K bytes - Click Count (0) -
tests/test_response_model_include_exclude.py
"ref2": { "ref": {"foo": "mixed_dict model foo", "bar": "mixed_dict model bar"}, "baz": "mixed_dict model2 baz", }, } client = TestClient(app) def test_nested_include_simple(): response = client.get("/simple_include") assert response.status_code == 200, response.text assert response.json() == { "baz": "simple_include model2 baz",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jul 19 19:14:58 GMT 2021 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java
/** * Constructor for PopularWordsRequestBuilder. * @param client The OpenSearch client. */ public PopularWordsRequestBuilder(final Client client) { super(client, new PopularWordsRequest()); } /** * Sets the index for the request. * @param index The index name. * @return This builder instance. */Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilder.java
return this; } /** * Builds a SuggestSettings instance. * @param client The OpenSearch client. * @param id The ID. * @return A SuggestSettings instance. */ public SuggestSettings build(final Client client, final String id) { return new SuggestSettings(client, id, initialSettings, settingsIndexName, timeoutSettings); }Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 17 14:10:16 GMT 2025 - 4K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
): return {"token": token} app.include_router(router) client = TestClient(app) def test_root(): response = client.get("/", headers={"Authorization": "Bearer testtoken"}) assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"} def test_read_with_oauth2_scheme(): response = client.get(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.6K bytes - Click Count (0) -
tests/test_no_swagger_ui_redirect.py
@app.get("/items/") async def read_items(): return {"id": "foo"} client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "swagger-ui-dist" in response.text print(client.base_url) assert "oauth2RedirectUrl" not in response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 786 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.client; import static org.codelibs.core.stream.StreamUtil.split; import org.codelibs.core.lang.StringUtil; import org.codelibs.fesen.client.HttpClient; import org.codelibs.fess.Constants; import org.codelibs.fess.crawler.client.FesenClient; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil;
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001.py
mod = importlib.import_module(f"docs_src.extra_data_types.{request.param}") client = TestClient(mod.app) return client def test_extra_types(client: TestClient): item_id = "ff97dd87-a4a5-4a12-b412-cde99f33e00e" data = { "start_datetime": "2018-12-22T14:00:00+00:00", "end_datetime": "2018-12-24T15:00:00+00:00", "repeat_at": "15:30:00", "process_after": 300,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.3K bytes - Click Count (0) -
tests/test_tutorial/test_query_params/test_tutorial006.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial006_py39"), pytest.param("tutorial006_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.query_params.{request.param}") c = TestClient(mod.app) return c def test_foo_needy_very(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 5.3K bytes - Click Count (0)