Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ipv6HostHasSquareBracesHttp2 (0.09 sec)

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

        assertThat(get.headers["Host"]).isEqualTo("[::1]:$port")
        assertThat(get.headers[":authority"]).isNull()
        assertThat(get.url).isEqualTo(url)
      }
    
      @Test
      fun ipv6HostHasSquareBracesHttp2() {
        configureClientAndServerProxies(http2 = true)
        server.enqueue(
          MockResponse(body = "response body"),
        )
        val port = server.port
        val url =
          server
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top