- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 692 for acceptX (0.05 seconds)
-
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
* limitations under the License. */ package okhttp3.brotli import okhttp3.CompressionInterceptor import okhttp3.Gzip /** * Transparent Brotli response support. * * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in * responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 979 bytes - Click Count (0) -
docs/en/docs/reference/websockets.md
- cookies - client - state - url_for - client_state - application_state - receive - send - accept - receive_text - receive_bytes - receive_json - iter_text - iter_bytes - iter_json - send_text - send_bytesCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Aug 06 04:48:30 GMT 2024 - 1.7K bytes - Click Count (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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 757 bytes - Click Count (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
} private fun classNodeFor(classBytesSupplier: () -> ByteArray): () -> ApiTypeClassNode = { ApiTypeClassNode(asmLevel).also { ClassReader(classBytesSupplier()).accept(it, SKIP_CODE or SKIP_FRAMES) } } private fun <T> open(action: () -> T): T { check(!closed) { "ApiTypeProvider closed!" } return action() } internalCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Mar 12 15:56:18 GMT 2025 - 20.2K bytes - Click Count (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")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 1.5K bytes - Click Count (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(); });
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginPrerequisitesChecker.java
/** * * @param pluginDescriptor the plugin descriptor to check * @throws IllegalStateException in case the checked prerequisites are not met */ @Override void accept(PluginDescriptor pluginDescriptor);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 16:35:21 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
} @Test void testNullStreamHandling() { // Test that passing null to setInstance throws NullPointerException // This is expected behavior as PrintStream doesn't accept null assertThrows(NullPointerException.class, () -> { LogStream.setInstance(null); }); } @Test void testPrintStreamDelegation() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (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"); // ActCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
Arguments.of(WinError.ERROR_REQ_NOT_ACCEP, "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."), Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."), Arguments.of(WinError.ERROR_PIPE_BUSY, "All pipe instances are busy."),
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0)