- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testH2PriorKnowledgeServerFallback (0.12 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(reader.readLine()).isEqualTo("response") val request = server.takeRequest() assertThat(request.body.readUtf8()).isEqualTo("request") } @Test fun testH2PriorKnowledgeServerFallback() { try { server.protocols = Arrays.asList(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1) fail<Any>() } catch (expected: IllegalArgumentException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(reader.readLine()).isEqualTo("response") val request = server.takeRequest() assertThat(request.body.readUtf8()).isEqualTo("request") } @Test fun testH2PriorKnowledgeServerFallback() { try { server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1) fail<Unit>() } catch (expected: IllegalArgumentException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0)