Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ICY (0.04 sec)

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

                0 -> Protocol.HTTP_1_0
                1 -> Protocol.HTTP_1_1
                else -> throw ProtocolException("Unexpected status line: $statusLine")
              }
          } else if (statusLine.startsWith("ICY ")) {
            // 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
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

        assertThat(statusLine.code).isEqualTo(code)
      }
    
      // https://github.com/square/okhttp/issues/386
      @Test
      fun shoutcast() {
        val statusLine = parse("ICY 200 OK")
        assertThat(statusLine.message).isEqualTo("OK")
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_0)
        assertThat(statusLine.code).isEqualTo(200)
      }
    
      @Test
      fun missingProtocol() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            .Builder()
            .status("ICY 200 OK")
            .addHeader("Accept-Ranges: none")
            .addHeader("Content-Type: audio/mpeg")
            .addHeader("icy-br:128")
            .addHeader("ice-audio-info: bitrate=128;samplerate=44100;channels=2")
            .addHeader("icy-br:128")
            .addHeader("icy-description:Rock")
            .addHeader("icy-genre:riders")
            .addHeader("icy-name:A2RRock")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_1x.md

     * Fix: Cache SPDY responses even if the response body is closed prematurely.
     * Fix: Use strict timeouts when aborting a download.
     * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
     * Fix: Don't unzip if there isn't a response body.
     * Fix: Don't leak gzip streams on redirects.
     * Fix: Don't do DNS lookups on invalid hosts.
     * Fix: Exhaust the underlying stream when reading gzip streams.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top