- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Length (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
*/ @get:JvmName("encodedUsername") val encodedUsername: String get() { if (username.isEmpty()) return "" val usernameStart = scheme.length + 3 // "://".length() == 3. val usernameEnd = url.delimiterOffset(":@", usernameStart, url.length) return url.substring(usernameStart, usernameEnd) } /** * The password, or an empty string if none is set. *
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) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
.removeHeader("Content-Length") .build() server.enqueue(responseWithoutBody) val call = client.newCall(Request(server.url("/foo"))) val response = call.execute() // Body contains nothing. assertThat(response.body.bytes().size).isEqualTo(0) assertThat(response.body.contentLength()).isEqualTo(0) // Content-Length header doesn't exist in a 204 response.
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/test/java/okhttp3/EventListenerTest.kt
responseBodyBytes: Matcher<Long?>?, ) { if (requestHeaderLength != null) { val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>() MatcherAssert.assertThat( "request header length", responseHeadersEnd.headerLength, requestHeaderLength, ) } else { assertThat(listener.recordedEventTypes()) .doesNotContain("RequestHeadersEnd") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0) -
src/main/webapp/js/admin/adminlte.min.js.map
control_sidebar = $(Selector.CONTROL_SIDEBAR_CONTENT).height()\n }\n\n const heights = {\n window: $(window).height(),\n header: $(Selector.HEADER).length !== 0 ? $(Selector.HEADER).outerHeight() : 0,\n footer: $(Selector.FOOTER).length !== 0 ? $(Selector.FOOTER).outerHeight() : 0,\n sidebar: $(Selector.SIDEBAR).length !== 0 ? $(Selector.SIDEBAR).height() : 0,\n control_sidebar: control_sidebar,\n }\n\n const max = this._max(heights)\n\n if (max == he...
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Wed Feb 12 07:55:41 GMT 2020 - 77K bytes - Viewed (1) -
docs/changelogs/changelog_3x.md
HTTP 408 Request Timeout. If retries are enabled, OkHttp will retry exactly once in response to a 408. * Fix: Don't crash when reading the empty `HEAD` response body if it specifies a `Content-Length`. * Fix: Don't crash if the thread is interrupted while reading the public suffix database. * Fix: Use relative resource path when loading the public suffix database.
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) -
common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
// than the name passed. This value will also be combined with a unique suffix. // The provided value has the same validation rules as the Name field, // and may be truncated by the length of the suffix required to make the value // unique on the server. // // If this field is specified and the generated name exists, the server will return a 409. // // Applied only if Name is not specified.
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 53.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* TrustManagerFactory.getDefaultAlgorithm()); * trustManagerFactory.init((KeyStore) null); * TrustManager[] trustManagers = trustManagerFactory.getTrustManagers(); * if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) { * throw new IllegalStateException("Unexpected default trust managers:" * + Arrays.toString(trustManagers)); * }
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/cache/DiskLruCacheTest.kt
index: Int, value: String, ) { getSource(index).use { source -> assertThat(sourceAsString(source)).isEqualTo(value) assertThat(getLength(index)).isEqualTo(value.length.toLong()) } } private fun sourceAsString(source: Source) = source.buffer().readUtf8() private fun Editor.assertInoperable() { assertFailsWith<IllegalStateException> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0)