Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AAABAAABAAAAAAAABmdvb2dsZQNjb20AABwAAQ (0.17 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 =
              (
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        assertThat(listOf(request1.path, request2.path))
          .containsExactlyInAnyOrder(
            "/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ",
            "/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AABwAAQ",
          )
      }
    
      @Test
      fun failure() {
        server.enqueue(
          dnsResponse(
            "0000818300010000000100000e7364666c6b686673646c6b6a64660265650000010001c01b00060001000" +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top