Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 80 (3.79 sec)

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

        // em space
        assertThat(parse("http://h/\u2003").encodedPath).isEqualTo("/%E2%80%83")
        // three-per-em space
        assertThat(parse("http://h/\u2004").encodedPath).isEqualTo("/%E2%80%84")
        // four-per-em space
        assertThat(parse("http://h/\u2005").encodedPath).isEqualTo("/%E2%80%85")
        // six-per-em space
        assertThat(parse("http://h/\u2006").encodedPath).isEqualTo("/%E2%80%86")
        // figure 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/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ### Equal URLs should be equal
     *
     * These two URLs are semantically identical, but `java.net.URI` disagrees:
     *
     *  * http://host:80/
     *
     *  * http://host
     *
     * Both the unnecessary port specification (`:80`) and the absent trailing slash (`/`) cause URI to
     * bucket the two URLs separately. This harms URI's usefulness in collections. Any application that
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .proxy(server.toProxyAddress())
            .build()
    
        val url = server.url("/").resolve("//android.com/foo")!!
        val port =
          when (url.scheme) {
            "https" -> 443
            "http" -> 80
            else -> error("unexpected scheme")
          }
    
        val call = client.newCall(Request(url))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABCDE")
    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