- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,839 for CLIENT (0.08 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt
* follow-up requests. The client is unblocked and free to continue as soon as it has received the * entire response body. If and when the client makes a subsequent request using a pooled socket the * server may not have had time to close the socket. The socket will be closed at an indeterminate * point before or during the second request. It may be closed after client has started sending the
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/test_sub_callbacks.py
client = TestClient(app) def test_get(): response = client.post( "/invoices/", json={"id": "fooinvoice", "customer": "John", "total": 5.3} ) assert response.status_code == 200, response.text assert response.json() == {"msg": "Invoice received"} def test_openapi_schema(): with client: response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.8K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
Expiry int `json:"expires_in"` } // KeycloakProvider implements Provider interface for KeyCloak Identity Provider. type KeycloakProvider struct { sync.Mutex oeConfig DiscoveryDoc client http.Client adminURL string realm string // internal value refreshed accessToken Token } // LoginWithUser authenticates username/password, not needed for Keycloak
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/test_tutorial/test_events/test_tutorial002.py
with TestClient(app) as client: response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [{"name": "Foo"}] with open("log.txt") as log: assert "Application shutdown" in log.read() def test_openapi_schema(app: FastAPI): with TestClient(app) as client: response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial003.py
from docs_src.request_files.tutorial003 import app client = TestClient(app) def test_post_files(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
} @Override public UpdateRequestBuilder prepareUpdate() { return client.prepareUpdate(); } @Override public UpdateRequestBuilder prepareUpdate(final String index, final String id) { return client.prepareUpdate(index, id); } @Override public IndexRequestBuilder prepareIndex(final String index) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 19.9K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py
from ...utils import needs_py39, needs_pydanticv1, needs_pydanticv2 @pytest.fixture(name="client") def get_client(): from docs_src.path_operation_configuration.tutorial005_py39 import app client = TestClient(app) return client @needs_py39 def test_query_params_str_validations(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": 42})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 8.9K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
return &istiodConfigLog{state: &logLevelState{ client: ctrzClient, outputLogLevel: outputLogLevel, }} } else if stackTraceLevel != "" { return &istiodConfigLog{state: &stackTraceLevelState{ client: ctrzClient, stackTraceLevel: stackTraceLevel, }} } return &istiodConfigLog{state: &getAllLogLevelsState{ client: ctrzClient, outputFormat: outputFormat, }} }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate) .build() client = client.newBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .build() server.useHttps(handshakeCertificates.sslSocketFactory())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.bigger_applications.app_an_py39.main import app client = TestClient(app) return client @needs_py39 def test_users_token_jessica(client: TestClient): response = client.get("/users?token=jessica") assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.9K bytes - Viewed (0)