- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for listo (0.12 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(url.queryParameterValue(2)).isNull() assertThat(url.queryParameterValues("foo")).isEqualTo(listOf(null as String?)) assertThat(url.queryParameterValues("bar")).isEqualTo(listOf(null as String?)) assertThat(url.queryParameterValues("baz")).isEqualTo(listOf(null as String?)) } @Test fun queryParametersWithEmptyValues() { val url = parse("http://host/?foo=&bar=&baz=")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
.protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .hostnameVerifier(RecordingHostnameVerifier()) .build() scheme = "https" } else { server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE) client =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* @param protocols the protocols to use, in order of preference. If the list contains * [Protocol.H2_PRIOR_KNOWLEDGE] then that must be the only protocol and HTTPS URLs will not * be supported. Otherwise the list must contain [Protocol.HTTP_1_1]. The list must * not contain null or [Protocol.HTTP_1_0]. */ fun protocols(protocols: List<Protocol>) = apply {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
.throttleBody(2, 100, TimeUnit.MILLISECONDS) .socketPolicy(DisconnectDuringResponseBody) .build(), ) client = client.newBuilder() .protocols(listOf<Protocol>(Protocol.HTTP_1_1)) .readTimeout(Duration.ofMillis(250)) .build() val call = client.newCall( Request.Builder() .url(server.url("/")) .build(),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource class FileSystemParamProvider : SimpleProvider() { override fun arguments() = listOf( FakeFileSystem().apply { emulateUnix() } to false, FileSystem.SYSTEM to TestUtil.windows, FakeFileSystem().apply { emulateWindows() } to true, ) } @Timeout(60) @Tag("Slow")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
val expectedRequestHeaders = listOf( Header(Header.TARGET_METHOD, "GET"), Header(Header.TARGET_SCHEME, "https"), Header(Header.TARGET_AUTHORITY, "squareup.com"), Header(Header.TARGET_PATH, "/cached"), ) peer.sendFrame().pushPromise(3, 2, expectedRequestHeaders) val expectedResponseHeaders = listOf( Header(Header.RESPONSE_STATUS, "200"), )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)