- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 149 for Locations (0.04 sec)
-
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
val callTimeout: Int by option( "--call-timeout", ).help( "Maximum time allowed for the entire call (seconds)", ).int() .default(DEFAULT_TIMEOUT) val followRedirects: Boolean by option("-L", "--location").help("Follow redirects").flag() val allowInsecure: Boolean by option("-k", "--insecure").help("Allow connections to SSL sites without certs").flag()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
.Builder() .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) .code(HttpURLConnection.HTTP_MOVED_PERM) .addHeader("Location: /foo") .build(), ) server.enqueue( MockResponse .Builder() .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
public void sendError(int sc, String msg) { } @Override public void sendError(int sc) { } @Override public void sendRedirect(String location) { } @Override public void setDateHeader(String name, long date) { } @Override public void addDateHeader(String name, long date) { }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt
val redirectSource = MockWebServer() redirectSource.enqueue( MockResponse .Builder() .code(HttpURLConnection.HTTP_MOVED_TEMP) .addHeader("Location: $redirectTargetUrl") .build(), ) redirectSource.start() val redirectSourceUrl = urlWithIpAddress(redirectSource, "/") val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
public void testMultipleKeyRotations() throws GeneralSecurityException { String sessionId = "multi-rotation"; keyManager.storeSessionKey(sessionId, testKey, "AES"); // Perform multiple rotations for (int i = 1; i <= 5; i++) { int version = keyManager.rotateSessionKey(sessionId); assertEquals(i, version, "Version should be " + i); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* * For client timeouts (408: Request Time-Out.) * * For server failures (503: Service Unavailable.) * * Response header values like `Location` and `Retry-After` are also considered. * * Client configuration may be used to make follow-up decisions, such as: * * * [OkHttpClient.followRedirects] must be true to follow redirects.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
headers = headersOf("Location", "/foo"), body = "This page has moved!", ), ) server.enqueue(MockResponse(body = "This is the new location!")) val call = client.newCall(Request(server.url("/"))) val response = call.execute() assertThat(response.body.string()).isEqualTo("This is the new location!") val request1 = server.takeRequest()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
for (E e : getSubjectGenerator().order(new ArrayList<E>(getSampleElements()))) { list.add(e); } return unmodifiableList(list); } /** * @return a suitable location for a null element, to use when initializing containers for tests * that involve a null element being present. */ protected int getNullLocation() { return getNumElements() / 2; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
entryIndex = next - 1; entry = entries[entryIndex]; next = CompactHashing.getNext(entry, mask); } while (next != srcNext); // here, entries[entryIndex] points to the old entry location; update it entries[entryIndex] = CompactHashing.maskCombine(entry, dstIndex + 1, mask); } } else { elements[dstIndex] = null; entries[dstIndex] = 0; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0)