- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 201 for BASIC (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
.add("WWW-Authenticate", "Basic realm=myrealm") .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")), ) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 16.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt
object Credentials { /** Returns an auth credential for the Basic scheme. */ @JvmStatic @JvmOverloads fun basic( username: String, password: String, charset: Charset = ISO_8859_1, ): String { val usernameAndPassword = "$username:$password" val encoded = usernameAndPassword.encode(charset).base64() return "Basic $encoded" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
val request = response.request val url = request.url val proxyAuthorization = response.code == 407 val proxy = route?.proxy ?: Proxy.NO_PROXY for (challenge in challenges) { if (!"Basic".equals(challenge.scheme, ignoreCase = true)) { continue } val dns = route?.address?.dns ?: defaultDns val auth = if (proxyAuthorization) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} public void test_basic_functionality() { // Basic functionality test without complex operations try { List<String> emptyIds = new ArrayList<>(); dataIndexHelper.crawl("basic-test", emptyIds); assertTrue("Basic functionality should be fast", true); } catch (Exception e) { assertTrue("Basic functionality should handle exceptions quickly", true); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
.Builder() .request(request) .code(401) .header("WWW-Authenticate", "Basic realm=\"User Visible Realm\"") .protocol(HTTP_2) .message("Unauthorized") .build() val authRequest = authenticator.authenticate(route, response) assertEquals( "Basic ${RecordingAuthenticator.BASE_64_CREDENTIALS}", authRequest!!.header("Authorization"), ) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/PackageSanityTests.java
* limitations under the License. */ package com.google.common.escape; import com.google.common.testing.AbstractPackageSanityTests; import org.jspecify.annotations.NullUnmarked; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 905 bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/PackageSanityTests.java
* limitations under the License. */ package com.google.common.escape; import com.google.common.testing.AbstractPackageSanityTests; import org.jspecify.annotations.NullUnmarked; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 905 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/mail/CrawlerPostcardTest.java
@Override public void setUp() throws Exception { super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test"); assertEquals(1, 1); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/PackageSanityTests.java
import java.lang.reflect.Method; import java.nio.channels.FileChannel.MapMode; import java.nio.charset.CharsetEncoder; import org.jspecify.annotations.NullUnmarked; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.4K bytes - Viewed (0)