- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for failOnExcessiveResponse (0.21 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(recordedRequest.method).isEqualTo("GET") assertThat(recordedRequest.path) .isEqualTo("/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ") } @Test fun failOnExcessiveResponse() { val array = CharArray(128 * 1024 + 2) { '0' } server.enqueue(dnsResponse(String(array))) try { dns.lookup("google.com") fail<Any>() } catch (ioe: IOException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 11K bytes - Viewed (0)