- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 4,244 for Accept (0.03 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertNoMoreLogs() networkLogs .assertLogEqual("--> GET $url http/1.1") .assertLogEqual("Host: $host") .assertLogEqual("Connection: Keep-Alive") .assertLogEqual("Accept-Encoding: gzip") .assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END GET") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)""")) .assertLogEqual("Content-Length: 0")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
val request = HttpGet(server.url("/").toUri()) request.addHeader("Accept", "text/plain") httpClient.execute(request).use { response -> assertThat(response.code).isEqualTo(200) assertThat(EntityUtils.toString(response.entity)).isEqualTo("hello, Apache HttpClient 5.x") } 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.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long time, TimeUnit timeUnit) { return advance(timeUnit.toNanos(time)); } /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 4.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-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
} private fun newEventSource(accept: String? = null): EventSource { val builder = Request .Builder() .url(server.url("/")) if (accept != null) { builder.header("Accept", accept) } val request = builder.build() val factory = client.asEventSourceFactory()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 8.1K 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/org/codelibs/curl/CurlRequest.java
final RequestProcessor processor = new RequestProcessor(encoding, threshold); processor.accept(con); try (final CurlResponse res = processor.getResponse()) { actionListener.accept(res); } catch (final IOException e) { exceptionListener.accept(e); } }, exceptionListener); } /**
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
throwError.accept(messages -> fessConfig.invalidIndexRequiredFields(doc) .stream() .map(s -> "doc." + s) .forEach(s -> messages.addErrorsPropertyRequired(s, s))); } if (!fessConfig.validateIndexArrayFields(doc)) { throwError.accept(messages -> fessConfig.invalidIndexArrayFields(doc)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.1K bytes - Viewed (1) -
guava-testlib/src/com/google/common/testing/FakeTicker.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long time, TimeUnit timeUnit) { return advance(timeUnit.toNanos(time)); } /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 3.4K bytes - Viewed (0)