- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for ok (0.32 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
tunnelCodec.readResponseHeaders(false)!! .request(nextRequest) .build() tunnelCodec.skipConnectBody(response) when (response.code) { HttpURLConnection.HTTP_OK -> return null HttpURLConnection.HTTP_PROXY_AUTH -> { nextRequest = route.address.proxyAuthenticator.authenticate(route, response) ?: throw IOException("Failed to authenticate with proxy")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 18.6K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/SuspendCallTest.kt
private class ClosableCall : FailingCall() { private val response = Response.Builder() .request(Request("https://example.com/".toHttpUrl())) .protocol(Protocol.HTTP_1_1) .message("OK") .code(200) .body( object : ResponseBody() { override fun contentType() = null override fun contentLength() = -1L override fun source() =
Plain Text - Registered: Fri Apr 12 11:42:09 GMT 2024 - Last Modified: Fri Apr 05 11:25:23 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0) -
android-test/README.md
... > Task :android-test:connectedDebugAndroidTest ... 11:55:40 V/InstrumentationResultParser: Time: 13.271 11:55:40 V/InstrumentationResultParser: 11:55:40 V/InstrumentationResultParser: OK (12 tests) ...
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
import java.net.HttpURLConnection.HTTP_NOT_FOUND import java.net.HttpURLConnection.HTTP_NOT_IMPLEMENTED import java.net.HttpURLConnection.HTTP_NO_CONTENT import java.net.HttpURLConnection.HTTP_OK import java.net.HttpURLConnection.HTTP_REQ_TOO_LONG import java.util.Date import java.util.concurrent.TimeUnit.SECONDS import okhttp3.Request import okhttp3.Response import okhttp3.internal.http.HTTP_PERM_REDIRECT
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
private class ClosableCall : FailingCall() { private val response = Response.Builder() .request(Request("https://example.com/".toHttpUrl())) .protocol(Protocol.HTTP_1_1) .message("OK") .code(200) .body( object : ResponseBody() { override fun contentType() = null override fun contentLength() = -1L override fun source() =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
Headers.Builder().add("foo bar") } } @Test fun addThrowsOnMultiColon() { assertFailsWith<IllegalArgumentException> { Headers.Builder().add(":status: 200 OK") } } @Test fun addUnsafeNonAsciiRejectsUnicodeName() { assertFailsWith<IllegalArgumentException> { Headers.Builder() .addUnsafeNonAscii("héader1", "value1") .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
apply { this.status = status } fun setResponseCode(code: Int): MockResponse { val reason = when (code) { in 100..199 -> "Informational" in 200..299 -> "OK" in 300..399 -> "Redirection" in 400..499 -> "Client Error" in 500..599 -> "Server Error" else -> "Mock Response" } return apply { status = "HTTP/1.1 $code $reason" } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 01:59:58 GMT 2024 - 18.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
} body.awaitSuccess() } @Test fun clientReadsHeadersDataTrailers() { enableProtocol(Protocol.HTTP_2) val body = MockStreamHandler() .sendResponse("ok") .exhaustResponse() server.enqueue( MockResponse.Builder() .clearHeaders() .addHeader("h1", "v1") .addHeader("h2", "v2") .trailers(headersOf("trailers", "boom"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 23.9K bytes - Viewed (0)