- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for basec (0.15 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 03:04:50 GMT 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
MockResponse( code = 401, headers = headersOf("WWW-Authenticate", "Basic realm=\"protected area\""), ), ) server.enqueue( MockResponse(body = "c"), ) val authenticator = RecordingOkAuthenticator( basic("jesse", "peanutbutter"), "Basic", ) client = client.newBuilder() .authenticator(authenticator)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
.add("WWW-Authenticate", "Basic realm=myotherrealm") .build() assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly( Challenge("Basic", mapOf("realm" to "myrealm")), Challenge("Basic", mapOf("realm" to "myotherrealm")), ) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(base.resolve("")).isEqualTo(parse("http://host/a/b")) assertThat(base.resolve("\\path")).isEqualTo(parse("http://host/path")) } @Test fun resolveUnsupportedScheme() { val base = parse("http://a/") assertThat(base.resolve("ftp://b")).isNull() assertThat(base.resolve("ht+tp://b")).isNull() assertThat(base.resolve("ht-tp://b")).isNull() assertThat(base.resolve("ht.tp://b")).isNull()
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/main/kotlin/okhttp3/Authenticator.kt
* * ```java * if (response.request().header("Authorization") != null) { * return null; // Give up, we've already failed to authenticate. * } * * String credential = Credentials.basic(...) * return response.request().newBuilder() * .header("Authorization", credential) * .build(); * ``` * * When reactive authentication is requested by a proxy server, the response code is 407 and the
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/ObjectIdentifiers.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 07 16:05:34 GMT 2024 - 1.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt
} println("Authenticating for response: $response") println("Challenges: ${response.challenges()}") val credential = Credentials.basic("jesse", "password1") return response.request.newBuilder() .header("Authorization", credential) .build() } }, ) .build() fun run() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
okhttp-logging-interceptor/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.logging", "Automatic-Module-Name: okhttp3.logging", "Bundle-SymbolicName: com.squareup.okhttp3.logging" ) dependencies { api(projects.okhttp)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 842 bytes - Viewed (0) -
okhttp-urlconnection/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"", "Automatic-Module-Name: okhttp3.urlconnection",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Nov 20 16:20:29 GMT 2023 - 764 bytes - Viewed (0) -
okhttp-tls/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") id("ru.vyarus.animalsniffer") } project.applyOsgi( "Export-Package: okhttp3.tls", "Automatic-Module-Name: okhttp3.tls", "Bundle-SymbolicName: com.squareup.okhttp3.tls" ) dependencies {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 06 05:31:00 GMT 2024 - 1K bytes - Viewed (0)