- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,292 for RESPONSE (0.03 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(expectedTime, response.getLastWriteTime()); assertEquals(expectedTime, response.getChangeTime()); assertEquals(0, response.getAllocationSize()); assertEquals(0, response.getEndOfFile()); assertEquals(0, response.getFileAttributes()); } @Test @DisplayName("Should handle maximum values correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* * Both this class and [Response] implement [Closeable]. Closing a response simply * closes its response body. If you invoke [Call.execute] or implement [Callback.onResponse] you * must close this body by calling any of the following methods: * * * `Response.close()` * * `Response.body().close()` * * `Response.body().source().close()` * * `Response.body().charStream().close()` * * `Response.body().byteStream().close()`
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
// Set some test values setStatus(response, 0); setConverter(response, 100); setNumEntries(response, 2); setTotalAvailableEntries(response, 5); // Set lastName through reflection Field lastNameField = response.getClass().getDeclaredField("lastName"); lastNameField.setAccessible(true); lastNameField.set(response, "LASTSERVER");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404); assertEquals(Protocol.HTTP_2, response.protocol()); for (Certificate c: response.handshake().peerCertificates()) { X509Certificate x = (X509Certificate) c;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
docs/en/docs/reference/responses.md
# Custom Response Classes - File, HTML, Redirect, Streaming, etc. There are several custom response classes you can use to create an instance and return them directly from your *path operations*. Read more about it in the [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/). You can import them directly from `fastapi.responses`: ```python from fastapi.responses import ( FileResponse,
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java
String response = checkPostMethod(requestBody, ITEM_ENDPOINT_SUFFIX).asString(); // Test: access admin api using a new token String id = JsonPath.from(response).get("response.id"); response = checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).asString(); String token = JsonPath.from(response).get("response.setting.token");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jun 12 02:18:38 UTC 2025 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
} } /** * Receives a response from this thread. * * @throws TimeoutException if this thread does not offer a response within a reasonable amount of * time * @throws AssertionFailedError if the given method name does not match the name of the method * this thread has called most recently */ private Response getResponse(String methodName) throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
if (cookies.isEmpty()) return saveFromResponse(url, cookies) } /** * Returns true if the response headers and status indicate that this response has a (possibly * 0-length) body. See RFC 7231. */ fun Response.promisesBody(): Boolean { // HEAD requests never yield a body regardless of the response headers. if (request.method == "HEAD") { return false } val responseCode = code
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
field.setAccessible(true); return field.getInt(response); } private void setStatus(NetShareEnumResponse response, int value) throws Exception { Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class); method.setAccessible(true); method.invoke(response, value); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
// Decode int bytesDecoded = response.decode(buffer, 0, 16); // Verify assertEquals(1, response.getNamedPipeState()); assertEquals(2, response.getReadDataAvailable()); assertEquals(3, response.getNumberOfMessages()); assertEquals(4, response.getMessageLength()); assertEquals(0, response.getData().length); assertEquals(16, bytesDecoded); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)