- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 447 for Accept4 (0.08 sec)
-
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
.newBuilder(server.url("/").toUri()) .header("Accept", "text/plain") .build() val response = httpClient.send(request, BodyHandlers.ofString()) assertThat(response.statusCode()).isEqualTo(200) assertThat(response.body()).isEqualTo("hello, Java HTTP Client") val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
*/ /** * Creates a new instance with {@code null} as its detail message and no cause. * * @deprecated Prefer {@linkplain UncheckedExecutionException(Throwable)} a constructor that * accepts a cause: Users of this class typically expect for instances to have a non-null * cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicitRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("Constructor accepts null challenge") void testConstructorAcceptsNullChallenge() { UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(null, dc); assertNull(nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null dc") void testConstructorAcceptsNullDc() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaborator consumer.accept(rp); // Assert: interaction happened exactly once with correct argument; no other calls verify(consumer, times(1)).accept(RequestParam.NO_RETRY); verifyNoMoreInteractions(consumer); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
docs/metrics/healthcheck/README.md
### Cluster-writeable probe The reply is '200 OK' if cluster has write quorum if not it returns '503 Service Unavailable'. ``` curl http://minio1:9001/minio/health/cluster HTTP/1.1 503 Service Unavailable Accept-Ranges: bytes Content-Length: 0 Server: MinIO Vary: Origin X-Amz-Bucket-Region: us-east-1 X-Minio-Write-Quorum: 3 X-Amz-Request-Id: 16239D6AB80EBECF X-Xss-Protection: 1; mode=block
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jul 06 16:18:38 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
forEach(prefix, consumer); } long size = spliterator.getExactSizeIfKnown(); long[] counter = {0}; spliterator.forEachRemaining( e -> { consumer.accept(e); counter[0]++; }); if (size >= 0) { assertEquals(size, counter[0]); } } }, ALTERNATE_ADVANCE_AND_SPLIT { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
forEach(prefix, consumer); } long size = spliterator.getExactSizeIfKnown(); long[] counter = {0}; spliterator.forEachRemaining( e -> { consumer.accept(e); counter[0]++; }); if (size >= 0) { assertEquals(size, counter[0]); } } }, ALTERNATE_ADVANCE_AND_SPLIT { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
md4.update(Strings.getUNIBytes(password)); return md4.digest(); } /** * Generates the NT password hash for the given password. * This version accepts char[] for better security. * * @param password the password to hash as char array * @return nt password hash */ public static byte[] getNTHash(final char[] password) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
} // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing // the transfer stream. var transparentGzip = false if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) { transparentGzip = true requestBuilder.header("Accept-Encoding", "gzip") }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0)