- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Case (0.15 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(base.resolve("")).isEqualTo(parse("http://host/a/b")) assertThat(base.resolve("\\path")).isEqualTo(parse("http://host/path")) } @Test fun resolveUnsupportedScheme() { val base = parse("http://a/") assertThat(base.resolve("ftp://b")).isNull() assertThat(base.resolve("ht+tp://b")).isNull() assertThat(base.resolve("ht-tp://b")).isNull() assertThat(base.resolve("ht.tp://b")).isNull()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
this.encodedUsername = base.encodedUsername this.encodedPassword = base.encodedPassword this.host = base.host this.port = base.port this.encodedPathSegments.clear() this.encodedPathSegments.addAll(base.encodedPathSegments) if (pos == limit || input[pos] == '#') { encodedQuery(base.encodedQuery) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
docs/changelogs/changelog_3x.md
truncated response from an HTTPS proxy. ## Version 3.14.1 _2019-04-10_ * Fix: Don't crash when an interceptor retries when there are no more routes. This was an edge-case regression introduced with the events cleanup in 3.14.0. * Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) } /** * Test to ensure we don't throw a read timeout on responses that are progressing. For this * case, we take a 4KiB body and throttle it to 1KiB/second. We set the read timeout to two * seconds. If our implementation is acting correctly, it will not throw, as it is progressing. */ @ParameterizedTest
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* attempt multiple proxy servers in sequence, eventually falling back to a direct * connection. * * Set this to false to avoid retrying requests when doing so is destructive. In this case the * calling application should do its own recovery of connectivity failures. */ fun retryOnConnectionFailure(retryOnConnectionFailure: Boolean) = apply {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(connection.writer.maxDataLength()).isEqualTo(newMaxFrameSize) } /** * Webservers may set the initial window size to zero, which is a special case because it means * that we have to flush headers immediately before any request body can be sent. * https://github.com/square/okhttp/issues/2543 */ @Test fun peerSetsZeroFlowControl() { peer.setClient(true)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)