Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PublicSuffix (0.05 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("yokohama.jp", domain.publicSuffix().toString());
    
        // Behold the weirdness!
        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.Response
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    
    /**
     * [DNS over HTTPS implementation][doh_spec].
     *
     * > A DNS API client encodes a single DNS query into an HTTP request
     * > using either the HTTP GET or POST method and the other requirements
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top