Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGoogleDotComDecodingFromCloudflare (0.15 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

      @Test
      fun testGoogleDotComEncodingWithIPv6() {
        val encoded = encodeQuery("google.com", TYPE_AAAA)
        assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AABwAAQ")
      }
    
      @Test
      fun testGoogleDotComDecodingFromCloudflare() {
        val encoded =
          decodeAnswers(
            hostname = "test.com",
            byteString =
              (
                "00008180000100010000000006676f6f676c6503636f6d0000010001c00c0001000100000043" +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top