Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for requestToHostnameViaProxy (0.16 sec)

  1. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

      @Test
      fun ipv6() {
        val recordedRequest = requestToHostnameViaProxy("2607:f8b0:400b:804::200e")
        assertThat(recordedRequest.requestUrl!!.host).isEqualTo("2607:f8b0:400b:804::200e")
        assertThat(recordedRequest.handshakeServerNames).isEmpty()
      }
    
      /** No SNI for literal IPv4 addresses. */
      @Test
      fun ipv4() {
        val recordedRequest = requestToHostnameViaProxy("76.223.91.57")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top