Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cancelWritingRequestBody (0.45 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

                protocols(listOf(HTTP_1_1))
              }
            }.build()
        threadToCancel = Thread.currentThread()
      }
    
      @ParameterizedTest
      @ArgumentsSource(CancelModelParamProvider::class)
      fun cancelWritingRequestBody(mode: Pair<CancelMode, ConnectionType>) {
        setUp(mode)
        server.enqueue(MockResponse())
        val call =
          client.newCall(
            Request(
              url = server.url("/"),
              body =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top