- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for reporter (0.21 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
* * This implementation's STD3 rules are configured to `UseSTD3ASCIIRules=false`. This is * permissive and permits the `_` character. * * [mapping table]: https://www.unicode.org/reports/tr46/#IDNA_Mapping_Table * [mapping step]: https://www.unicode.org/reports/tr46/#ProcessingStepMap */ class SimpleIdnaMappingTable internal constructor( internal val mappings: List<Mapping>, ) { /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
* * [RFC 3492]: https://datatracker.ietf.org/doc/html/rfc3492 * [RFC 5890]: https://datatracker.ietf.org/doc/html/rfc5890 * [UTS #46]: https://www.unicode.org/reports/tr46/ */ object Punycode { val PREFIX_STRING = "xn--" val PREFIX = PREFIX_STRING.encodeUtf8() private const val BASE = 36 private const val TMIN = 1 private const val TMAX = 26
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 03:04:50 GMT 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
testSecureStreamingPost(TransferKind.FIXED_LENGTH) } @Test fun secureChunkedStreaming() { testSecureStreamingPost(TransferKind.CHUNKED) } /** * Users have reported problems using HTTPS with streaming request bodies. * http://code.google.com/p/android/issues/detail?id=12860 */ private fun testSecureStreamingPost(streamingMode: TransferKind) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertInvalid("http://aa$dotA126/", "Invalid URL host: \"aa$dotA126\"") } /** * UTS 46 Validity Criteria: Decoded punycode must be NFC. * * https://www.unicode.org/reports/tr46/#Validity_Criteria */ @Test fun hostnameInPunycodeNfcAndNfd() { // café can be NFC (é is one code point) or NFD (e plus ´ as two code points). val hostNfc = "café.com"
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/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
if (body != null) { assertThat(event.responseBody).isEqualTo(body) } assertThat(event.t.javaClass).isEqualTo(cls) assertThat(event.t.message).isEqualTo(message) } /** Expose this recorder as a frame callback and shim in "ping" events. */ fun asFrameCallback() = object : WebSocketReader.FrameCallback { override fun onReadMessage(text: String) { events.add(Message(string = text))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
val oldName = currentThread.name currentThread.name = name try { block() } finally { currentThread.name = oldName } } /** Returns the Content-Length as reported by the response headers. */ internal fun Response.headersContentLength(): Long { return headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L } /** Returns an immutable copy of this. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
assertThat(pool.closeConnections(150L)).isEqualTo(0) assertThat(pool.connectionCount()).isEqualTo(0) assertThat(c1.socket().isClosed).isTrue() // Running again, the pool reports that no further runs are necessary. assertThat(pool.closeConnections(150L)).isEqualTo(-1) assertThat(pool.connectionCount()).isEqualTo(0) assertThat(c1.socket().isClosed).isTrue() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 12.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* invalid URL. You can even be explicit about whether each component has been encoded already. * * [idna]: http://www.unicode.org/reports/tr46/#ToASCII */ class HttpUrl private constructor( /** Either "http" or "https". */ @get:JvmName("scheme") val scheme: String, /** * The decoded username, or an empty string if none is present. *
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/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt
fun retry(): Plan? } /** * What to do once a plan has executed. * * If [nextPlan] is not-null, another attempt should be made by following it. If [throwable] is * non-null, it should be reported to the user should all further attempts fail. * * The two values are independent: results can contain both (recoverable error), neither
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 4.2K bytes - Viewed (0) -
CHANGELOG.md
* Breaking: Use `kotlin.time.Duration` in APIs like `OkHttpClient.Builder.callTimeout()`. This update also drops support for the `DurationUnit` functions introduced in earlier alpha releases of OkHttp 5. * Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3. * New: `Request.Builder.cacheUrlOverride()` customizes the cache key used for a request. This can
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0)