- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for uri (0.54 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
} @Test fun fromUri() { val uri = URI("http://username:password@host/path?query#fragment") val httpUrl = uri.toHttpUrlOrNull() assertThat(httpUrl.toString()) .isEqualTo("http://username:password@host/path?query#fragment") } @Test fun fromUriUnsupportedScheme() { val uri = URI("mailto:******@****.***") assertThat(uri.toHttpUrlOrNull()).isNull() } @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
server.enqueue(MockResponse()) val serverUrl = urlWithIpAddress(server, "/") val androidCookieHandler: CookieHandler = object : CookieHandler() { override fun get( uri: URI, map: Map<String, List<String>>, ) = mapOf( "Cookie" to listOf( "\$Version=\"1\"; " +
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
val nullProxySelector: ProxySelector = object : ProxySelector() { override fun select(uri: URI): List<Proxy>? { assertThat(uri.host).isEqualTo(uriHost) return null } override fun connectFailed( uri: URI, socketAddress: SocketAddress, e: IOException, ) { throw AssertionError() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 20.8K bytes - Viewed (0) -
gradle/wrapper/gradle-wrapper.jar
systemProperties; public final int networkTimeout; public static java.util.HashMap convertSystemPropert(java.util.Properties); public void Download(Logger, java.util.HashMap, int); public static java.net.URI safeUri(java.net.URI); public final void configureProxyAuthen(); public final void addBasicAuthenticati(java.net.URI, java.net.URLConnection); public final String calculateUserAgent(); } org/gradle/wrapper/ExclusiveFileAccessM.class package org.gradle.wrapper; public final synchronized class ExclusiveFileAccessM...
Archive - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 24 09:00:26 GMT 2023 - 42.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
val level = interceptor.getLevel() } @Test @Disabled fun httpUrl() { val httpUrl: HttpUrl = HttpUrl.get("") val url: URL = httpUrl.url() val uri: URI = httpUrl.uri() val scheme: String = httpUrl.scheme() val encodedUsername: String = httpUrl.encodedUsername() val username: String = httpUrl.username() val encodedPassword: String = httpUrl.encodedPassword()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
val client = OkHttpClient.Builder() .build() val proxySelector: ProxySelector = object : ProxySelector() { override fun select(uri: URI): List<Proxy> = listOf() override fun connectFailed( uri: URI, socketAddress: SocketAddress, e: IOException, ) {} } val trustManager = get().platformTrustManager()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 13.2K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
consistent with the length of the response body. * Fix: Don't crash when converting a `HttpUrl` instance with an unresolvable hostname to a URI. The new behavior strips invalid characters like `"` and `{` from the hostname before converting. * Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
} private fun newCookieHandler(): CookieHandler { return object : CookieHandler() { override fun put( uri: URI?, responseHeaders: MutableMap<String, MutableList<String>>?, ) = TODO() override fun get( uri: URI?, requestHeaders: MutableMap<String, MutableList<String>>?, ): MutableMap<String, MutableList<String>> = TODO() } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
okhttp/src/test/java/okhttp3/RequestTest.kt
import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isSameAs import assertk.assertions.isTrue import java.io.File import java.io.FileWriter import java.net.URI import java.util.UUID import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.MediaType.Companion.toMediaType
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.4K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
to manually prioritize specific IP addresses. * Fix: Don't throw when converting an `HttpUrl` to a `java.net.URI`. Previously URLs with special characters like `|` and `[` would break when subjected to URI’s overly-strict validation. * Fix: Don't re-encode `+` as `%20` in encoded URL query strings. OkHttp
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0)