Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for urlWithBadAsciiHost (0.14 seconds)

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

        )
        val response = getResponse(newRequest("/"))
        assertThat(response.code).isEqualTo(302)
        assertThat(response.header("Location")).isEqualTo(redirectUrl)
      }
    
      @Test
      fun urlWithBadAsciiHost() {
        assertFailsWith<IllegalArgumentException> {
          "http://host\u0001/".toHttpUrl()
        }
      }
    
      @Suppress("DEPRECATION_ERROR")
      @Test
      fun setSslSocketFactoryFailsOnJdk9() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
Back to Top