Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for missingProtocol (0.05 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

        assertThat(statusLine.message).isEqualTo("OK")
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_0)
        assertThat(statusLine.code).isEqualTo(200)
      }
    
      @Test
      fun missingProtocol() {
        assertInvalid("")
        assertInvalid(" ")
        assertInvalid("200 OK")
        assertInvalid(" 200 OK")
      }
    
      @Test
      fun protocolVersions() {
        assertInvalid("HTTP/2.0 200 OK")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top