Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ntripr1 (0.22 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(response.message).isEqualTo("OK")
        assertContent("mp3 data", response)
      }
    
      @Test
      fun ntripr1() {
        server.enqueue(
          MockResponse.Builder()
            .status("SOURCETABLE 200 OK")
            .addHeader("Server: NTRIP Caster 1.5.5/1.0")
            .addHeader("Date: 23/Jan/2004:08:54:59 UTC")
            .addHeader("Content-Type: text/plain")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top