- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for auth_header (0.07 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertThat(call).contains("protocol=http") assertThat(call.lowercase(Locale.US)).contains("scheme=basic") } private fun authCallsForHeader(authHeader: String): List<String> { val proxy = authHeader.startsWith("Proxy-") val responseCode = if (proxy) 407 else 401 val authenticator = RecordingAuthenticator(null) java.net.Authenticator.setDefault(authenticator)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)