- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 1,338 for responder (0.07 seconds)
-
docs_src/custom_response/tutorial004_py39.py
from fastapi import FastAPI from fastapi.responses import HTMLResponse app = FastAPI() def generate_html_response(): html_content = """ <html> <head> <title>Some HTML in here</title> </head> <body> <h1>Look ma! HTML!</h1> </body> </html> """ return HTMLResponse(content=html_content, status_code=200)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 491 bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
/** * Creates a Type-2 message in response to the given Type-1 message * using default values from the current environment. * * @param type1 The Type-1 message which this represents a response to. */ public Type2Message(final Type1Message type1) { this(type1, null, null); } /** * Creates a Type-2 message in response to the given Type-1 message. *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Assert assertEquals(24, resp.length, "LMv2 response length must be 24"); assertArrayEquals(clientChallenge, Arrays.copyOfRange(resp, 16, 24), "Client challenge must be copied to last 8 bytes"); assertFalse(Arrays.equals(new byte[24], resp), "Response must not be all zeros"); } @Test @DisplayName("getLMv2Response(byte[]): empty client data allowed")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
} @Test @DisplayName("Should create correct response") void testCreateResponse() { // When Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2ChangeNotifyResponse); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
docs/de/docs/tutorial/path-params.md
Wenn Sie dieses Beispiel ausführen und auf <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a> gehen, sehen Sie als <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr>: ```JSON {"item_id":"foo"} ``` ## Pfad-Parameter mit Typen { #path-parameters-with-types }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
} /** * Get average response time * * @return average response time in milliseconds */ public long getAverageResponseTime() { return avgResponseTime.get(); } /** * Get 95th percentile response time * * @return 95th percentile response time in milliseconds */ public long getP95ResponseTime() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
try { SearchResponse response = client.prepareSearch(index) .setQuery(queryBuilder) .setSize(500) .setScroll(settings.getScrollTimeout()) .execute() .actionGet(settings.getSearchTimeout()); String scrollId = response.getScrollId(); try {Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Sun Nov 23 11:21:40 GMT 2025 - 17.5K bytes - Click Count (1) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
.build(), ) val request = HttpGet(server.url("/").toUri()) request.addHeader("Accept", "text/plain") httpClient.execute(request).use { response -> assertThat(response.code).isEqualTo(200) assertThat(EntityUtils.toString(response.entity)).isEqualTo("hello, Apache HttpClient 5.x") } val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2.1K bytes - Click Count (0) -
internal/http/transports.go
// // connection. 5 minutes is sufficient time for any idle connection. // trhttp2.ReadIdleTimeout = 5 * time.Minute // // PingTimeout is the timeout after which the connection will be closed // // if a response to Ping is not received. // trhttp2.PingTimeout = dialTimeout // // DisableCompression, if true, prevents the Transport from // // requesting compression with an "Accept-Encoding: gzip"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
assertEquals(path, actualPath); } @Test @DisplayName("Should create proper response object") void testCreateResponse() { // When Smb2TreeConnectResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2TreeConnectResponse); verify(mockContext, times(1)).getConfig(); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0)