- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for 4097 (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* * A stale connection. The request was made on a reused connection and that reused connection * has since been closed by the server. * * A client timeout (HTTP 408). * * A authorization challenge (HTTP 401 and 407) that is satisfied by the [Authenticator]. * * A retryable server failure (HTTP 503 with a `Retry-After: 0` response header). * * A misdirected request (HTTP 421) on a coalesced connection. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:29 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
* * @return the content as a string. * @throws CurlException if an error occurs while accessing the content. */ public String getContentAsString() { final byte[] bytes = new byte[4096]; try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream()); ByteArrayOutputStream baos = new ByteArrayOutputStream()) { int length = bis.read(bytes);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
*/ protected FileUtil() { } /** The encoding name for UTF-8. */ private static final String UTF8 = "UTF-8"; /** Default Buffer Size */ protected static final int DEFAULT_BUF_SIZE = 4096; // 4k /** Max Buffer Size */ protected static final int MAX_BUF_SIZE = 10 * 1024 * 1024; // 10m /** * Validates that a given path is safe and does not attempt path traversal attacks. * <p>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* * The network response's status code is most influential when deciding how to follow up: * * * For redirects (301: Moved Permanently, 302: Temporary Redirect, etc.) * * For auth challenges (401: Unauthorized, 407: Proxy Authentication Required.) * * For client timeouts (408: Request Time-Out.) * * For server failures (503: Service Unavailable.) *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:03:04 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
try (BufferedInputStream bis = new BufferedInputStream(handler.get()); ContentOutputStream dfos = new ContentOutputStream(threshold, Curl.tmpDir)) { final byte[] bytes = new byte[4096]; int length = bis.read(bytes); while (length != -1) { if (length != 0) { final int len = length; logger.fine(() -> {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
* seconds. If our implementation is acting correctly, it will not throw, as it is progressing. */ @Test fun readTimeoutMoreGranularThanBodySize() { val body = CharArray(4096) // 4KiB to read. Arrays.fill(body, 'y') server.enqueue( MockResponse .Builder() .body(String(body)) .throttleBody(1024, 1, TimeUnit.SECONDS) // Slow connection 1KiB/second.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertCached(false, 402) assertCached(false, 403) assertCached(true, 404) assertCached(true, 405) assertCached(false, 406) assertCached(false, 408) assertCached(false, 409) // the HTTP spec permits caching 410s, but the RI doesn't. assertCached(true, 410) assertCached(false, 411) assertCached(false, 412) assertCached(false, 413) assertCached(true, 414)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0)