Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for headersGet (0.06 sec)

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

        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, unknown-length body\)"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun headersGet() {
        setLevel(Level.HEADERS)
        server.enqueue(MockResponse())
        val response = client.newCall(request().build()).execute()
        response.body.close()
        applicationLogs
          .assertLogEqual("--> GET $url")
    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