Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 81 (0.37 sec)

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

        // en quad
        assertThat(parse("http://h/\u2000").encodedPath).isEqualTo("/%E2%80%80")
        // em quad
        assertThat(parse("http://h/\u2001").encodedPath).isEqualTo("/%E2%80%81")
        // en space
        assertThat(parse("http://h/\u2002").encodedPath).isEqualTo("/%E2%80%82")
        // em space
        assertThat(parse("http://h/\u2003").encodedPath).isEqualTo("/%E2%80%83")
        // three-per-em space
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    gopher://foo:70/  s:gopher h:foo p:/
    gopher://foo:443/  s:gopher h:foo port:443 p:/
    ws://foo:80/  s:ws h:foo p:/
    ws://foo:81/  s:ws h:foo port:81 p:/
    ws://foo:443/  s:ws h:foo port:443 p:/
    ws://foo:815/  s:ws h:foo port:815 p:/
    wss://foo:80/  s:wss h:foo port:80 p:/
    wss://foo:81/  s:wss h:foo port:81 p:/
    wss://foo:443/  s:wss h:foo p:/
    wss://foo:815/  s:wss h:foo port:815 p:/
    http:/example.com/  s:http h:example.com p:/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      return String.format(Locale.US, format, *args)
    }
    
    @Throws(IOException::class)
    internal fun BufferedSource.readBomAsCharset(default: Charset): Charset {
      return when (select(UNICODE_BOMS)) {
        0 -> UTF_8
        1 -> UTF_16BE
        2 -> UTF_16LE
        3 -> UTF_32BE
        4 -> UTF_32LE
        -1 -> default
        else -> throw AssertionError()
      }
    }
    
    internal fun checkDuration(
      name: String,
      duration: Long,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              return upgradeResponse(request)
                .body(Buffer().write("81".decodeHex())) // Truncated frame.
                .removeHeader("Content-Length")
                .socketPolicy(KeepOpen)
                .build()
            }
          }
        val webSocket: WebSocket = newWebSocket()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
Back to top