- Sort Score
- Result 10 results
- Languages All
Results 11 - 11 of 11 for Responsecodes (0.9 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val proxy = authHeader.startsWith("Proxy-") val responseCode = if (proxy) 407 else 401 val authenticator = RecordingAuthenticator(null) java.net.Authenticator.setDefault(authenticator) server.enqueue( MockResponse .Builder() .code(responseCode) .addHeader(authHeader) .body("Please authenticate.") .build(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)