Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peanutbutter (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

      }
    
      @Test
      fun requestToStringRedactsSensitiveHeaders() {
        val headers =
          Headers
            .Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        val request =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            body = "Please authenticate.",
          ),
        )
        server.enqueue(
          MockResponse(body = "A"),
        )
        val credential = basic("jesse", "peanutbutter")
        val authenticator = RecordingOkAuthenticator(credential, null)
        client =
          client
            .newBuilder()
            .authenticator(authenticator)
            .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)
Back to top