Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for urlWithSpaceInHost (0.11 seconds)

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

        )
        assertContent("abc", getResponse(newRequest("/")))
        val request = server.takeRequest()
        assertThat(request.headers["User-Agent"]).isEqualTo(USER_AGENT)
      }
    
      @Test
      fun urlWithSpaceInHost() {
        assertFailsWith<IllegalArgumentException> {
          "http://and roid.com/".toHttpUrl()
        }
      }
    
      @Test
      fun urlWithSpaceInHostViaHttpProxy() {
    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