Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for reporters (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

       * be logged if the test fails.
       *
       * This client is also configured to be slightly more deterministic, returning a single IP
       * address for all hosts, regardless of the actual number of IP addresses reported by DNS.
       */
      fun newClient(): OkHttpClient {
        var client = testClient
        if (client == null) {
          client =
            initialClientBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. CHANGELOG.md

    [graalvm]: https://www.graalvm.org/
    [graalvm_21]: https://www.graalvm.org/release-notes/21_0/
    [graalvm_22]: https://www.graalvm.org/release-notes/22_2/
    [idna_15_1_0]: https://www.unicode.org/reports/tr46/#Modifications
    [kotlin_1_4_20]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.20
    [kotlin_1_5_31]: https://github.com/JetBrains/kotlin/releases/tag/v1.5.31
    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)
Back to top