Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for r1 (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

            // Shoutcast uses ICY instead of "HTTP/1.0".
            protocol = Protocol.HTTP_1_0
            codeStart = 4
          } else if (statusLine.startsWith("SOURCETABLE ")) {
            // NTRIP r1 uses SOURCETABLE instead of HTTP/1.1
            protocol = Protocol.HTTP_1_1
            codeStart = 12
          } else {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(MockResponse(body = "ABCDEF"))
        server.enqueue(MockResponse(body = "GHIJKL"))
        val call1 = client.newCall(Request(server.url("/r1")))
        val call2 = client.newCall(Request(server.url("/r1")))
        val response1 = call1.execute()
        val response2 = call2.execute()
        assertThat(response1.body.source().readUtf8(3)).isEqualTo("ABC")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top