- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 3,186 for accept (0.08 sec)
-
docs/throttle/README.md
Example: Limit a MinIO cluster to accept at max 1600 simultaneous S3 API requests across all nodes of the cluster. ```sh export MINIO_API_REQUESTS_MAX=1600 export MINIO_ROOT_USER=your-access-key export MINIO_ROOT_PASSWORD=your-secret-key minio server http://server{1...8}/mnt/hdd{1...16} ``` or ```shRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 1.5K bytes - Viewed (1) -
docs_src/websockets/tutorial002_an_py39.py
async def websocket_endpoint( *, websocket: WebSocket, item_id: str, q: Union[int, None] = None, cookie_or_token: Annotated[str, Depends(get_cookie_or_token)], ): await websocket.accept() while True: data = await websocket.receive_text() await websocket.send_text( f"Session cookie or query token value is: {cookie_or_token}" ) if q is not None:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.8K bytes - Viewed (0) -
okhttp-zstd/README.md
OkHttp Zstandard (zstd) Integration =================================== This module enables [Zstandard (zstd)][1] response compression in addition to Gzip, as long as the `Accept-Encoding` header is not otherwise set. Web servers must be configured to return zstd responses. Note that zstd is not used for sending requests. ```java OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(ZstdInterceptor.INSTANCE) .build(); ```
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 556 bytes - Viewed (1) -
.teamcity/scripts/update_wrapper_and_create_pr.sh
post() { local endpoint="$1" local data="$2" local response=$(curl -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ -H "Content-Type: application/json" \ "https://api.github.com/repos/gradle/gradle$endpoint" \ -d "$data" \ -w "\n%{http_code}" \ 2>/dev/null)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 29 03:20:20 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
// Threshold of 0 should be accepted request.threshold(0); assertEquals(0, request.threshold()); } @Test public void testThresholdWithNegative() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Negative threshold should be accepted (though may not make sense) request.threshold(-1);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
Map<String, List<String>> properties = new HashMap<>(); properties.put("Accept", Collections.singletonList("application/json")); when(mockConnection.getRequestProperties()).thenReturn(properties); // Need to mock getRequestProperty as well since it delegates to wrapped connection when(mockConnection.getRequestProperty("Accept")).thenReturn("application/json"); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
docs_src/app_testing/tutorial002_py39.py
app = FastAPI() @app.get("/") async def read_main(): return {"msg": "Hello World"} @app.websocket("/ws") async def websocket(websocket: WebSocket): await websocket.accept() await websocket.send_json({"msg": "Hello WebSocket"}) await websocket.close() def test_read_main(): client = TestClient(app) response = client.get("/") assert response.status_code == 200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 757 bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
stk.push(new ActivationFrame("arch", Optional.empty())); validator.accept(oa.getArch()); stk.peek().location = "family"; validator.accept(oa.getFamily()); stk.peek().location = "name"; validator.accept(oa.getName()); stk.peek().location = "version"; validator.accept(oa.getVersion()); stk.pop(); stk.pop(); });
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 03 15:06:05 UTC 2025 - 66.8K bytes - Viewed (0) -
tests/test_route_scope.py
@app.websocket("/items/{item_id}") async def websocket_item(item_id: str, websocket: WebSocket): route: APIWebSocketRoute = websocket.scope["route"] await websocket.accept() await websocket.send_json({"item_id": item_id, "path": route.path}) client = TestClient(app) def test_get(): response = client.get("/users/rick")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 1.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) { if (cliManager.getUsedDeprecatedOptions().isEmpty()) { return; } printWriter.accept("Detected deprecated option use in " + source); for (Option option : cliManager.getUsedDeprecatedOptions()) { StringBuilder sb = new StringBuilder(); sb.append("The option ");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 07:36:42 UTC 2025 - 21.3K bytes - Viewed (0)