Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(reader.readLine()).isEqualTo("response")
        val request = server.takeRequest()
        assertThat(request.body.readUtf8()).isEqualTo("request")
      }
    
      @Test
      fun multiple1xxResponses() {
        server.enqueue(
          MockResponse.Builder()
            .add100Continue()
            .add100Continue()
            .body("response")
            .build(),
        )
        val url = server.url("/").toUrl()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top