Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for HTTP_1_0 (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          MockResponse
            .Builder()
            .status("HTTP/1.0 200 OK")
            .build(),
        )
        val response = getResponse(newRequest("/"))
        assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_0)
      }
    
      @Test
      fun http11SelectedProtocol() {
        server.enqueue(
          MockResponse
            .Builder()
            .status("HTTP/1.1 200 OK")
            .build(),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
Back to Top