- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for 504 (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
/** Don't store the server's response in any cache. */ fun noStore() = commonNoStore() /** * Only accept the response if it is in the cache. If the response isn't cached, a `504 * Unsatisfiable Request` response will be returned. */ fun onlyIfCached() = commonOnlyIfCached() /** Don't accept a transformed response. */ fun noTransform() = commonNoTransform()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
kotlin-js-store/yarn.lock
dependencies: media-typer "0.3.0" mime-types "~2.1.24" typescript@5.0.4: version "5.0.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== ua-parser-js@^0.7.30:
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 87.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* * ``` * Content-Length: 50 * Content-Type: text/html * ``` * * 3. Different case * * ``` * content-type: text/html * content-length: 50 * ``` * * 4. Different values * * ``` * Content-Type: text/html * Content-Length: 050 * ``` *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} assertEvents( "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1 "U0.50", // #2 "U4.00", // #3 "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #4 "U0.50", // #5 "U2.00", // #6 "R0.00, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50"); // #7 } public void testWarmUpWithColdFactor() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} assertEvents( "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1 "U0.50", // #2 "U4.00", // #3 "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #4 "U0.50", // #5 "U2.00", // #6 "R0.00, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50"); // #7 } public void testWarmUpWithColdFactor() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
SMBUtil.writeInt2(50, buffer, 3); // andxOffset SMBUtil.writeInt2(20, buffer, 9); // byteCount // Setup andx command data at offset 50 (absolute position) buffer[50] = 4; // andx wordCount SMBUtil.writeInt2(20, buffer, 59); // andx byteCount int length = testBlock.readAndXWireFormat(buffer, 0); assertTrue(length > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertCached(false, 417) assertCached(false, 418) assertCached(false, 500) assertCached(true, 501) assertCached(false, 502) assertCached(false, 503) assertCached(false, 504) assertCached(false, 505) assertCached(false, 506) } @Test fun responseCachingWith1xxInformationalResponse() { assertSubsequentResponseCached(102, 200)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* .onlyIfCached() * .build()) * .url("http://publicobject.com/helloworld.txt") * .build(); * Response forceCacheResponse = client.newCall(request).execute(); * if (forceCacheResponse.code() != 504) { * // The resource was cached! Show it. * } else { * // The resource was not cached. * } * ``` * * This technique works even better in situations where a stale response is better than no response.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
.Builder() .url(server.url("/")) .cacheControl(CacheControl.FORCE_CACHE) .build(), ) val response = call.execute() assertThat(response.code).isEqualTo(504) response.close() assertThat(listener.recordedEventTypes()) .containsExactly("CallStart", "SatisfactionFailure", "FollowUpDecision", "CallEnd") assertThat(listener.findEvent<FollowUpDecision>()).all {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0)