- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 848 for responder (0.04 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* * ```java * // ensure the response (and underlying response body) is closed * try (Response response = client.newCall(request).execute()) { * ... * } * ``` * * The caller may read the response body with the response's [Response.body] method. To avoid * leaking resources callers must [close the response body][ResponseBody] or the response. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/en/docs/tutorial/middleware.md
/// ### Before and after the `response` { #before-and-after-the-response } You can add code to be run with the `request`, before any *path operation* receives it. And also after the `response` is generated, before returning it. For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
// The response structure is empty (0 bytes) for reconnect // No data is returned in a successful reconnect response /** * Create a new durable handle reconnect response */ public DurableHandleReconnectResponse() { // No data fields for reconnect response } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py
follow_redirects=False, ) def test_redirect() -> None: response = client.get("/items") assert response.status_code == 307 assert response.headers["location"] == "https://example.com/items/" def test_no_redirect() -> None: response = client.get("/items/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 545 bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
"Mock Response", ) for (i in 0..599) { val response = MockResponse().setResponseCode(i) val expectedReason = reasons[i / 100] assertThat(response.status).isEqualTo("HTTP/1.1 $i $expectedReason") assertThat(headersToList(response)).containsExactly("Content-Length: 0") } } @Test fun setStatusControlsWholeStatusLine() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
} void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException { synchronized (session.transport()) { if (response != null) { response.received = false; } treeConnect(request, response); if (request == null || response != null && response.received) { return; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
} } private FileEntry advance() throws CIFSException { final int n = this.response.getStatus() == WinError.ERROR_MORE_DATA ? this.response.getNumEntries() - 1 : this.response.getNumEntries(); while (this.ridx < n) { final FileEntry itm = this.response.getResults()[this.ridx]; this.ridx++; if (filter(itm)) { return itm; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} while (true); } else { request.setResponse(response); } if (response == null) { throw new IOException("Invalid response"); } return response; } @Override protected <T extends Response> boolean handleIntermediate(final Request request, final T response) { if (!this.smb2) { return false; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
tests/test_form_default.py
client = TestClient(app) def test_form_default_url_encoded(): response = client.post("/urlencoded", data={"age": ""}) assert response.status_code == 200 assert response.text == "null" def test_form_default_multi_part(): response = client.post("/multipart", data={"age": ""}) assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 829 bytes - Click Count (0) -
docs/features/https.md
.url("https://publicobject.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); for (Certificate certificate : response.handshake().peerCertificates()) { System.out.println(CertificatePinner.pin(certificate)); } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 10.5K bytes - Click Count (0)