Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          val bodySize = if (contentLength != -1L) "$contentLength-byte" else "unknown-length"
          logger.log(
            buildString {
              append("<-- ${response.code}")
              if (response.message.isNotEmpty()) append(" ${response.message}")
              append(" ${redactUrl(response.request.url)} (${tookMs}ms")
              if (!logHeaders) append(", $bodySize body")
              append(")")
            },
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top