- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 2,010 for clientX (0.04 sec)
-
tests/test_starlette_exception.py
return {"item": items[item_id]} client = TestClient(app) def test_get_item(): response = client.get("/items/foo") assert response.status_code == 200, response.text assert response.json() == {"item": "The Foo Wrestlers"} def test_get_item_not_found(): response = client.get("/items/bar") assert response.status_code == 404, response.textRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.4K bytes - Viewed (0) -
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 {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.1K bytes - Viewed (1) -
docs/de/docs/tutorial/first-steps.md
Es gibt dutzende Alternativen, die alle auf OpenAPI basieren. Sie können jede dieser Alternativen problemlos zu Ihrer mit **FastAPI** erstellten Anwendung hinzufügen. Ebenfalls können Sie es verwenden, um automatisch Code für Clients zu generieren, die mit Ihrer API kommunizieren. Zum Beispiel für Frontend-, Mobile- oder IoT-Anwendungen. ### Ihre App deployen (optional) { #deploy-your-app-optional }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.3K bytes - Viewed (0) -
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/")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 32.2K bytes - Viewed (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",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Jul 19 19:14:58 UTC 2021 - 4K bytes - Viewed (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. */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 3.9K bytes - Viewed (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); }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:10:16 UTC 2025 - 4K bytes - Viewed (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(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.6K bytes - Viewed (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
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 786 bytes - Viewed (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;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.6K bytes - Viewed (0)