- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for noAttemptToReadResponseIfLoadingRequestBodyIsSourceOfFailure (0.23 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
val call2 = localClient.newCall(Request(server.url("/"))) assertThrows<IOException>("fake socket failure") { call2.execute() } } @Test fun noAttemptToReadResponseIfLoadingRequestBodyIsSourceOfFailure() { server.enqueue(MockResponse(body = "abc")) val requestBody = object : RequestBody() { override fun contentType(): MediaType? = nullCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 11:54:15 GMT 2026 - 10.7K bytes - Click Count (0)