Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hostPid (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        val hostNfc = "café.com"
        val hostNfcPunycode = "xn--caf-dma.com"
        val hostNfd = "café.com"
        val hostNfdPunycode = "xn--cafe-yvc.com"
        assertEquals(hostNfcPunycode, "http://$hostNfc/".toHttpUrl().host)
        assertEquals(hostNfcPunycode, "http://$hostNfcPunycode/".toHttpUrl().host)
        assertEquals(hostNfcPunycode, "http://$hostNfd/".toHttpUrl().host)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * [Set]. Doing so is both inefficient because equality may require a DNS lookup, and incorrect
     * because unequal URLs may be equal because of how they are hosted.
     *
     * ### Equal URLs should be equal
     *
     * These two URLs are semantically identical, but `java.net.URI` disagrees:
     *
     *  * http://host:80/
     *
     *  * http://host
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
Back to top