Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for headersAreRedacted (0.11 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> GET $url h2")
          .assertLogMatch(Regex("""<-- 200 $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun headersAreRedacted() {
        val networkInterceptor =
          HttpLoggingInterceptor(networkLogs).setLevel(
            Level.HEADERS,
          )
        networkInterceptor.redactHeader("sEnSiTiVe")
        val applicationInterceptor =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
Back to top