Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hi (0.13 sec)

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

        val request = request().post("Hi?".toRequestBody(PLAIN)).build()
        val response = client.newCall(request).execute()
        response.body.close()
        applicationLogs
          .assertLogEqual("--> POST $url")
          .assertLogEqual("Content-Type: text/plain; charset=utf-8")
          .assertLogEqual("Content-Length: 3")
          .assertLogEqual("")
          .assertLogEqual("Hi?")
          .assertLogEqual("--> END POST (3-byte body)")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
Back to top