- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for OK (3.88 sec)
-
docs/features/connections.md
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Feb 21 03:33:59 GMT 2022 - 5.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersRequestTest.kt
import org.junit.jupiter.api.Test class HeadersRequestTest { @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() { val headerBlock = headersOf( ":status", "200 OK", ":version", "HTTP/1.1", "connection", "close", ) val request = Request.Builder().url("http://square.com/").build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
MockResponse.Builder() .status("HTP/1.1 200 OK") .build(), ) executeSynchronously("/") .assertFailure("Unexpected status line: HTP/1.1 200 OK") } @Test fun serverSendsInvalidCodeTooLarge() { server.enqueue( MockResponse.Builder() .status("HTTP/1.1 2147483648 OK") .build(), ) executeSynchronously("/")
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/main/kotlin/okhttp3/Cache.kt
* Accept-Charset: UTF-8 * HTTP/1.1 200 OK * 3 * Content-Type: image/png * Content-Length: 100 * Cache-Control: max-age=600 * ``` * * A typical HTTPS file looks like this: * * ``` * https://google.com/foo * GET * 2 * Accept-Language: fr-CA * Accept-Charset: UTF-8 * HTTP/1.1 200 OK * 3 * Content-Type: image/png
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/PublicInternalApiTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
assertThat(response2.code).isEqualTo(HttpURLConnection.HTTP_OK) assertThat(response2.message).isEqualTo("A-OK") val invalid = server.url("/invalid") val response3 = get(invalid) assertThat(response3.body.string()).isEqualTo("B") assertThat(response3.code).isEqualTo(HttpURLConnection.HTTP_OK) assertThat(response3.message).isEqualTo("B-OK") val response4 = get(invalid)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseJvmTest.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.1K bytes - Viewed (0) -
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) -
docs/changelogs/changelog_1x.md
* Fix: Cache SPDY responses even if the response body is closed prematurely. * Fix: Use strict timeouts when aborting a download. * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`. * Fix: Don't unzip if there isn't a response body. * Fix: Don't leak gzip streams on redirects. * Fix: Don't do DNS lookups on invalid hosts. * Fix: Exhaust the underlying stream when reading gzip streams.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 6.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.assertLogMatch(Regex("""requestHeadersEnd""")) .assertLogMatch(Regex("""responseHeadersStart""")) .assertLogMatch(Regex("""responseHeadersEnd: Response\{protocol=http/1\.1, code=200, message=OK, url=$url\}""")) .assertLogMatch(Regex("""responseBodyStart""")) .assertLogMatch(Regex("""responseBodyEnd: byteCount=6""")) .assertLogMatch(Regex("""connectionReleased"""))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 10.2K bytes - Viewed (0)