Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipsOnRedirectWhenNotSubjectAltName (0.12 sec)

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

        val nonsanUrl = url.newBuilder().host("nonsan.com").build()
        assertFailsWith<SSLPeerUnverifiedException> {
          execute(nonsanUrl)
        }
      }
    
      @Test
      fun skipsOnRedirectWhenNotSubjectAltName() {
        server.enqueue(
          MockResponse
            .Builder()
            .code(301)
            .addHeader("Location", url.newBuilder().host("nonsan.com").build())
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top