Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bodyGetMalformedCharset (0.07 sec)

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

          .assertLogMatch(Regex("""Sec-WebSocket-Accept: .+"""))
          .assertLogEqual("<-- END HTTP (unreadable body)")
          .assertNoMoreLogs()
      }
    
      @Test
      fun bodyGetMalformedCharset() {
        setLevel(Level.BODY)
        server.enqueue(
          MockResponse
            .Builder()
            .setHeader("Content-Type", "text/html; charset=0")
            .body("Body with unknown charset")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 07 02:57:33 UTC 2025
    - 39.4K bytes
    - Viewed (0)
Back to top