- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Resource (0.24 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val response = getResponse(newRequest("/")) val source = response.body.source() source.timeout().timeout(1000, TimeUnit.MILLISECONDS) assertThat(source.readByte()).isEqualTo('A'.code.toByte()) assertThat(source.readByte()).isEqualTo('B'.code.toByte()) assertThat(source.readByte()).isEqualTo('C'.code.toByte()) assertFailsWith<SocketTimeoutException> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
val response = call.execute() val source = response.body.source() assertThat(response.header("h1")).isEqualTo("v1") assertThat(response.header("h2")).isEqualTo("v2") assertThat(source.readUtf8(5)).isEqualTo("Hello") assertThat(source.readUtf8(7)).isEqualTo("Bonjour") assertThat(source.exhausted()).isTrue()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
// mx : http://www.nic.mx/ // Submitted by registry <******@****.***> mx com.mx org.mx gob.mx edu.mx net.mx // my : http://www.mynic.my/ // Available strings: https://mynic.my/resources/domains/buying-a-domain/ my biz.my com.my edu.my gov.my mil.my name.my net.my org.my // mz : http://www.uem.mz/ // Submitted by registry <******@****.***> mz
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3)