- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testUrlConnectionDirect (0.38 sec)
-
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
).execute() assertThat(response.body.string()).contains("Peter the person") assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1) } } @Test fun testUrlConnectionDirect() { testRequest { val url = URI(mockServer.endpoint + "/person?name=peter").toURL() val connection = url.openConnection() as HttpURLConnection
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 5.9K bytes - Viewed (0)