- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 2,003 for clientX (0.05 seconds)
-
tests/test_strict_content_type_router_level.py
app.include_router(router_default) client = TestClient(app) def test_lax_router_on_strict_app_accepts_no_content_type(): response = client.post("/lax/items/", content='{"key": "value"}') assert response.status_code == 200 assert response.json() == {"key": "value"} def test_strict_router_on_strict_app_rejects_no_content_type(): response = client.post("/strict/items/", content='{"key": "value"}')
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
* Add a **JSON Schema** for the response, in the OpenAPI *path operation*. * This will be used by the **automatic docs**. * It will also be used by automatic client code generation tools.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial004.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial004_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_put_all(client: TestClient): response = client.put( "/items/123",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 6.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
import org.opensearch.index.query.QueryBuilder; import org.opensearch.transport.client.Client; /** * Interface for writing suggest items. */ public interface SuggestWriter { /** * Writes the given suggest items to the specified index. * * @param client the client used to interact with the search engine * @param settings the settings for the suggest featureCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 4.1K bytes - Click Count (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py
def test_middleware(): client = TestClient(app, base_url="http://example.com") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app, base_url="http://subdomain.example.com") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app, base_url="http://invalidhost") response = client.get("/")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 576 bytes - Click Count (0) -
tests/test_param_include_in_schema.py
], ) def test_hidden_header(path, headers, expected_status, expected_response): client = TestClient(app) response = client.get(path, headers=headers) assert response.status_code == expected_status assert response.json() == expected_response def test_hidden_path(): client = TestClient(app) response = client.get("/hidden_path/hidden_path") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/ScrollOperationHelper.java
* <ul> * <li>{@link #scrollSearch(Client, SuggestSettings, String, QueryBuilder, int, HitProcessor)} - Collects results into a list</li> * <li>{@link #scrollSearchWithCallback(Client, SuggestSettings, String, QueryBuilder, int, Consumer)} - Processes each hit individually</li> * <li>{@link #scrollSearchWithBatchCallback(Client, SuggestSettings, String, QueryBuilder, int, BiConsumer)} - Processes hits in batches</li>
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.7K bytes - Click Count (0) -
cmd/server_test.go
type TestSuiteCommon struct { serverType string testServer TestServer endPoint string accessKey string secretKey string signer signerType secure bool client *http.Client } type check struct { *testing.T testType string } // Assert - checks if gotValue is same as expectedValue, if not fails the test. func (c *check) Assert(gotValue any, expectedValue any) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
cmd/warm-backend-s3.go
Transport: globalRemoteTargetTransport, Region: conf.Region, } client, err := minio.New(u.Host, opts) if err != nil { return nil, err } client.SetAppInfo(fmt.Sprintf("s3-tier-%s", tier), ReleaseTag) core := &minio.Core{Client: client} return &warmBackendS3{ client: client, core: core, Bucket: conf.Bucket,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jun 08 16:13:30 GMT 2025 - 5.8K bytes - Click Count (0) -
tests/test_tutorial/test_body_updates/test_tutorial002.py
@pytest.fixture( name="client", params=[ pytest.param("tutorial002_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_updates.{request.param}") client = TestClient(mod.app) return client def test_get(client: TestClient): response = client.get("/items/baz")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 7.8K bytes - Click Count (0)